[TRE-general] function names
Ville Laurikari
ville at laurikari.net
Wed Feb 28 15:18:54 EET 2007
On Mon, Feb 26, 2007 at 02:16:53PM -0500, William J Poser wrote:
>
> I wonder if it wouldn't be a good idea to name all of the
> public functions with a prefix such as "tre_" that would
> make them unique to the library? That way, failure to link
> to libtre would show up at link time rather than as run time
> bugs. For backwards compatibility there could be a flag
> defaulting to FALSE that would control the use of the prefixless
> names.
Sounds like a good idea. Would it make sense to include both
"regcomp" and "tre_regcomp" in the library? This way the libtre.so
ABI would be backwards compatible.
--
http://www.iki.fi/vl/
More information about the TRE-general
mailing list