talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Aug 2009 11:43:42 +0000 (13:43 +0200)
committerAndrew Tridgell <tridge@samba.org>
Mon, 24 Aug 2009 06:29:58 +0000 (16:29 +1000)
commit6c9ace27c591e48fdffdf5add6b4e11b2f669922
tree3aac85ba1c52b0795bc543cc80d0b0657e3a8611
parent9baacbbbdf766b87512f6d0f518f91decbbf2e2b
talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION

We also use the major and minor versions in the TALLOC_MAGIC,
so that we can detect if two conflicting versions of talloc
are loaded in one process. In this case we use talloc_log() to
output a very useful debug message before we call
talloc_abort().

metze
lib/talloc/Makefile.in
lib/talloc/configure.ac
lib/talloc/talloc.c
lib/talloc/talloc.h
lib/talloc/talloc.mk
lib/talloc/talloc.pc.in