bool sgInitKernel()

 

Description:

sgCore initialization. You should call this function at the beginning of your work and only once. If you don't call this function sgCore may work incorrectly.

You must call the sgFreeKernel() function to finish working with sgCore

 

Arguments:

No arguments.

 

Returned value:

If the library was successfully initialized the function returns true. Otherwise - false.

 

 

Example (the shortest sgCore library using program)

 

int main(int argc, char* argv[])

{

  sgInitKernel();

  sgFreeKernel();

 return 0;

}

 

See also:

sgFreeKernel()