9 #include "embryo_private.h"
11 static Embryo_Version _version = { VMAJ, VMIN, VMIC, VREV };
12 EAPI Embryo_Version *embryo_version = &_version;
14 static int _embryo_init_count = 0;
16 /*** EXPORTED CALLS ***/
19 * @defgroup Embryo_Library_Group Library Maintenance Functions
21 * Functions that start up and shutdown the Embryo library.
25 * Initialises the Embryo library.
26 * @return The number of times the library has been initialised without being
28 * @ingroup Embryo_Library_Group
33 if (++_embryo_init_count != 1)
34 return _embryo_init_count;
38 return _embryo_init_count;
42 * Shuts down the Embryo library.
43 * @return The number of times the library has been initialised without being
45 * @ingroup Embryo_Library_Group
50 if (--_embryo_init_count != 0)
51 return _embryo_init_count;
53 return _embryo_init_count;