2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
13 #include "embryo_private.h"
15 static int _embryo_init_count = 0;
17 /*** EXPORTED CALLS ***/
20 * @defgroup Embryo_Library_Group Library Maintenance Functions
22 * Functions that start up and shutdown the Embryo library.
26 * Initialises the Embryo library.
27 * @return The number of times the library has been initialised without being
29 * @ingroup Embryo_Library_Group
34 if (++_embryo_init_count != 1)
35 return _embryo_init_count;
39 return _embryo_init_count;
43 * Shuts down the Embryo library.
44 * @return The number of times the library has been initialised without being
46 * @ingroup Embryo_Library_Group
51 if (--_embryo_init_count != 0)
52 return _embryo_init_count;
54 return _embryo_init_count;