2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
5 #include "embryo_private.h"
8 static int _embryo_init_count = 0;
10 /*** EXPORTED CALLS ***/
13 * @defgroup Embryo_Library_Group Library Maintenance Functions
15 * Functions that start up and shutdown the Embryo library.
19 * Initialises the Embryo library.
20 * @return The number of times the library has been initialised without being
22 * @ingroup Embryo_Library_Group
28 if (_embryo_init_count > 1) return _embryo_init_count;
32 return _embryo_init_count;
36 * Shuts down the Embryo library.
37 * @return The number of times the library has been initialised without being
39 * @ingroup Embryo_Library_Group
45 if (_embryo_init_count > 0) return _embryo_init_count;
47 return _embryo_init_count;