> On Oct 28, 2014, at 8:23 PM, Richard Hipp <d...@sqlite.org> wrote: > > On Tue, Oct 28, 2014 at 11:18 PM, Ward Willats <sqlite-us...@wardco.com> > wrote: > >> Hello. >> >> I am using the amalgamation in a C++ library statically linked into other >> people's applications. >> >> Is there a way to namespace and/or macro and/or let C++ do its >> name-mangling thing to all the identifiers (by running the CPP compiler and >> turning __cplusplus off) so only my library translation units can use this >> "secret" version? (Or, more like, so the host app doesn't accidentally use >> my version.) >> >> > sed 's/sqlite3/wards_db/g' sqlite3.c >wards_db.c > sed 's/sqlite3/wards_db/g' sqlite3.h >wards_db.h >
Heh! Okay! :) -- Ward _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users