1
0
mirror of https://github.com/OlafvdSpek/ctemplate.git synced 2025-09-28 19:05:49 +08:00
Go to file
csilvers f0a3fceb99 Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com>
* ctemplate: version 0.6 release
	* Use computed includes for hash_map/set: easier config (csilvers)
	* Added all used .m4 templates to the distribution (csilvers)
	* Beefed-up and revamped modifier code (csilvers)
	* New modifiers for url-escaping, attribute-cleansing, etc (ribrdb)
	* Annotations now include modifier information (csilvers)
	* Support embedded NULs in template names and values (csilvers)
2007-06-11 19:33:28 +00:00
contrib Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
doc Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
m4 Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
packages Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
src Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
aclocal.m4 Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
AUTHORS ctemplate 0.1 2007-03-21 23:06:14 +00:00
autogen.sh Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
ChangeLog Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
compile ctemplate 0.1 2007-03-21 23:06:14 +00:00
config.guess Mon May 14 17:27:10 2007 Google Inc. <opensource@google.com> 2007-05-15 06:31:08 +00:00
config.sub Mon May 14 17:27:10 2007 Google Inc. <opensource@google.com> 2007-05-15 06:31:08 +00:00
configure Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
configure.ac Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
COPYING ctemplate 0.1 2007-03-21 23:06:14 +00:00
depcomp Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
INSTALL Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
install-sh Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
libtool.m4 ctemplate 0.3 2007-03-21 23:20:57 +00:00
ltmain.sh Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
Makefile.am Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
Makefile.in Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
missing Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
mkinstalldirs Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com> 2007-06-11 19:33:28 +00:00
NEWS ctemplate 0.1 2007-03-21 23:06:14 +00:00
README ctemplate 0.2 2007-03-21 23:19:16 +00:00

See the documentation in the doc/ directory for information about how
to use the ctemplate library.

The ctemplate library has thread support, so it works properly in a
threaded environment.  For this to work, if you link libraries with
-lctemplate you may find you also need to add -pthread (or, on some
systems, -pthreads, and on others, -lpthread) to get the library to
compile.  If you leave out the -pthread, you'll see errors like this:

   symbol lookup error: /usr/local/lib/libctemplate.so.0: undefined symbol: pthread_rwlock_init

If your code isn't multi-threaded, you can instead use the
ctemplate_nothread library:
   -lctemplate_nothreads

To summarize, there are two ways to link in ctemlpate in non-threaded
applications.  For instance:
   1) gcc -o my_app my_app.o -lctemplate -pthread
   2) gcc -o my_app my_app.o -lctemplate_nothreads

If your application uses threads, you should use form (1).