Vp init

From Virtual Paradise Wiki
Revision as of 21:51, 16 March 2011 by Edwin (talk | contribs)
Jump to navigation Jump to search

<C>int vp_init(int build)</C>

Description

Initializes the VP API, this only has to be called once for every application. It is used to check if the version used to build the application is compatible with the version used at runtime.

Example

<C> int err; if(err = vp_init(VP_BUILD))

   printf("Error initializing VP API(reason %d)\n", err);

</C>