axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dumindu Pallewela" <pallew...@gmail.com>
Subject Re: [GSoC XPath] Coding conventions
Date Tue, 27 May 2008 03:45:39 GMT
Hi Samisa,

On Mon, May 26, 2008 at 9:57 PM, Samisa Abeysinghe <samisa@wso2.com> wrote:

> Varuna Jayasiri wrote:
>
>> Dear All,
>>
>> Is it necessary to use prefixes (axiom_xpath...) for everything, even for
>> *internal* functions and specially macros (code is getting lengthy :P)?
>> These internal methods will be hidden from outside by declaring them in a
>> separate include file.
>>
>>
> Yes you do need the prefix even for internal functions. Otherwise, how do
> you guarantee that the internal name is not used by any other third party
> lib on your system? It is better to use the prefix everywhere to avoid
> possible symbol conflits.


I think what Varuna mentions here as internal are the functions that are
visible only within the XPath (those functions will not be exported and thus
won't conflict with other libs, isn't that the case?).

Regards,
Dumindu.

Mime
View raw message