SketchUp C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
initialize.h File Reference
#include <SketchUpAPI/common.h>

Go to the source code of this file.

Functions

SU_EXPORT void SUInitialize ()
 Initializes the slapi interface. Must be called before calling any other API function. More...
 
SU_EXPORT void SUTerminate ()
 Signals termination of use of the slapi interface. Must be called when done using API functions. More...
 
SU_EXPORT void SUGetAPIVersion (size_t *major, size_t *minor)
 Returns the major and minor API version numbers. More...
 

Function Documentation

SU_EXPORT void SUGetAPIVersion ( size_t *  major,
size_t *  minor 
)

Returns the major and minor API version numbers.

Parameters
[out]majorThe major version number retrieved.
[out]minorThe minor version number retrieved.
SU_EXPORT void SUInitialize ( )

Initializes the slapi interface. Must be called before calling any other API function.

SU_EXPORT void SUTerminate ( )

Signals termination of use of the slapi interface. Must be called when done using API functions.