Definitions in sc_init.h

Preprocessor macro definitions for the sc_init.h header file in the libscoreloopcore library.

Definitions:

#define SC_INIT_VERSION_1_0 0x100
Definition of the 1.0 version.
#define SC_INIT_CURRENT_VERSION SC_INIT_VERSION_1_0
Constant describing current version of the Scoreloop CoreSocial and the library itself.
#define SC_InitData_Init (SC_InitData_InitWithSizeAndVersion(initData, sizeof(SC_InitData_t), SC_INIT_CURRENT_VERSION))
Initializes the SC_InitData_t structure with default values.

This macro will set all fields to to a sensible default value:

  • currentVersion = SC_INIT_CURRENT_VERSION
  • minimumRequiredVersion = SC_INIT_VERSION_1_0
  • logWriter = 'log to stdout'
  • runLoopType = SC_RUN_LOOP_TYPE_BPS
  • eventDomain = 0 (means Scoreloop will choose a domain by itself)
  • eventDomainContext = NULL

You should nevertheless inspect the fields and change them to your special needs after calling this method.

initData

A Pointer to the init data to be initialized

Library:

libscoreloopcore