10 #include "embryo_private.h"
12 static Embryo_Version _version = { VMAJ, VMIN, VMIC, VREV };
13 EAPI Embryo_Version *embryo_version = &_version;
15 static int _embryo_init_count = 0;
17 /*** EXPORTED CALLS ***/
22 if (++_embryo_init_count != 1)
23 return _embryo_init_count;
27 return _embryo_init_count;
33 if (_embryo_init_count <= 0)
35 printf("%s:%i Init count not greater than 0 in shutdown.", __FUNCTION__, __LINE__);
38 if (--_embryo_init_count != 0)
39 return _embryo_init_count;
41 return _embryo_init_count;