// AUTO GENERATED FILE, DO NOT EDIT. // // Generated by `package:ffigen`. import 'dart:ffi' as ffi; /// Bindings to `headers/example.h`. class NativeLibrary { /// Holds the symbol lookup function. final ffi.Pointer Function(String symbolName) _lookup; /// The symbols are looked up in [dynamicLibrary]. NativeLibrary(ffi.DynamicLibrary dynamicLibrary) : _lookup = dynamicLibrary.lookup; /// The symbols are looked up with [lookup]. NativeLibrary.fromLookup( ffi.Pointer Function(String symbolName) lookup) : _lookup = lookup; void __va_start( ffi.Pointer arg0, ) { return ___va_start( arg0, ); } late final ___va_startPtr = _lookup)>>( '__va_start'); late final ___va_start = ___va_startPtr.asFunction)>(); void __security_init_cookie() { return ___security_init_cookie(); } late final ___security_init_cookiePtr = _lookup>( '__security_init_cookie'); late final ___security_init_cookie = ___security_init_cookiePtr.asFunction(); void __security_check_cookie( int _StackCookie, ) { return ___security_check_cookie( _StackCookie, ); } late final ___security_check_cookiePtr = _lookup>( '__security_check_cookie'); late final ___security_check_cookie = ___security_check_cookiePtr.asFunction(); void __report_gsfailure( int _StackCookie, ) { return ___report_gsfailure( _StackCookie, ); } late final ___report_gsfailurePtr = _lookup>( '__report_gsfailure'); late final ___report_gsfailure = ___report_gsfailurePtr.asFunction(); late final ffi.Pointer ___security_cookie = _lookup('__security_cookie'); int get __security_cookie => ___security_cookie.value; set __security_cookie(int value) => ___security_cookie.value = value; void gameInit( int gameType, int count, ) { return _gameInit( gameType, count, ); } late final _gameInitPtr = _lookup>( 'gameInit'); late final _gameInit = _gameInitPtr.asFunction(); void gameProcess( int id, ffi.Pointer buf, int len, ffi.Pointer result, ) { return _gameProcess( id, buf, len, result, ); } late final _gameProcessPtr = _lookup< ffi.NativeFunction< ffi.Void Function(ffi.Int32, ffi.Pointer, ffi.Int32, ffi.Pointer)>>('gameProcess'); late final _gameProcess = _gameProcessPtr.asFunction< void Function( int, ffi.Pointer, int, ffi.Pointer)>(); void getGameResult( int id, ffi.Pointer result, ) { return _getGameResult( id, result, ); } late final _getGameResultPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int32, ffi.Pointer)>>('getGameResult'); late final _getGameResult = _getGameResultPtr .asFunction)>(); void getGameDataStr( int id, ffi.Pointer result, ) { return _getGameDataStr( id, result, ); } late final _getGameDataStrPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int32, ffi.Pointer)>>('getGameDataStr'); late final _getGameDataStr = _getGameDataStrPtr .asFunction)>(); int getInteractionCMD() { return _getInteractionCMD(); } late final _getInteractionCMDPtr = _lookup>('getInteractionCMD'); late final _getInteractionCMD = _getInteractionCMDPtr.asFunction(); void getGameVersion( ffi.Pointer version, ) { return _getGameVersion( version, ); } late final _getGameVersionPtr = _lookup)>>( 'getGameVersion'); late final _getGameVersion = _getGameVersionPtr.asFunction)>(); int getStepFreq( int id, ) { return _getStepFreq( id, ); } late final _getStepFreqPtr = _lookup>('getStepFreq'); late final _getStepFreq = _getStepFreqPtr.asFunction(); int getStepCount( int id, ) { return _getStepCount( id, ); } late final _getStepCountPtr = _lookup>( 'getStepCount'); late final _getStepCount = _getStepCountPtr.asFunction(); int getMotionCount( int id, int type, ) { return _getMotionCount( id, type, ); } late final _getMotionCountPtr = _lookup>( 'getMotionCount'); late final _getMotionCount = _getMotionCountPtr.asFunction(); int getGameStepVel( int id, ) { return _getGameStepVel( id, ); } late final _getGameStepVelPtr = _lookup>( 'getGameStepVel'); late final _getGameStepVel = _getGameStepVelPtr.asFunction(); int NativeGetAttX( int id, ) { return _NativeGetAttX( id, ); } late final _NativeGetAttXPtr = _lookup>( 'NativeGetAttX'); late final _NativeGetAttX = _NativeGetAttXPtr.asFunction(); } typedef va_list = ffi.Pointer; typedef uintptr_t = ffi.Uint64; const int _VCRT_COMPILER_PREPROCESSOR = 1; const int _SAL_VERSION = 20; const int __SAL_H_VERSION = 180000000; const int _USE_DECLSPECS_FOR_SAL = 0; const int _USE_ATTRIBUTES_FOR_SAL = 0; const int _CRT_PACKING = 8; const int _VCRUNTIME_DISABLED_WARNINGS = 4514; const int _HAS_EXCEPTIONS = 1; const int _WCHAR_T_DEFINED = 1; const int NULL = 0; const int _HAS_CXX17 = 0; const int _HAS_CXX20 = 0; const int _HAS_NODISCARD = 1; const int INT8_MIN = -128; const int INT16_MIN = -32768; const int INT32_MIN = -2147483648; const int INT64_MIN = -9223372036854775808; const int INT8_MAX = 127; const int INT16_MAX = 32767; const int INT32_MAX = 2147483647; const int INT64_MAX = 9223372036854775807; const int UINT8_MAX = 255; const int UINT16_MAX = 65535; const int UINT32_MAX = 4294967295; const int UINT64_MAX = -1; const int INT_LEAST8_MIN = -128; const int INT_LEAST16_MIN = -32768; const int INT_LEAST32_MIN = -2147483648; const int INT_LEAST64_MIN = -9223372036854775808; const int INT_LEAST8_MAX = 127; const int INT_LEAST16_MAX = 32767; const int INT_LEAST32_MAX = 2147483647; const int INT_LEAST64_MAX = 9223372036854775807; const int UINT_LEAST8_MAX = 255; const int UINT_LEAST16_MAX = 65535; const int UINT_LEAST32_MAX = 4294967295; const int UINT_LEAST64_MAX = -1; const int INT_FAST8_MIN = -128; const int INT_FAST16_MIN = -2147483648; const int INT_FAST32_MIN = -2147483648; const int INT_FAST64_MIN = -9223372036854775808; const int INT_FAST8_MAX = 127; const int INT_FAST16_MAX = 2147483647; const int INT_FAST32_MAX = 2147483647; const int INT_FAST64_MAX = 9223372036854775807; const int UINT_FAST8_MAX = 255; const int UINT_FAST16_MAX = 4294967295; const int UINT_FAST32_MAX = 4294967295; const int UINT_FAST64_MAX = -1; const int INTPTR_MIN = -9223372036854775808; const int INTPTR_MAX = 9223372036854775807; const int UINTPTR_MAX = -1; const int INTMAX_MIN = -9223372036854775808; const int INTMAX_MAX = 9223372036854775807; const int UINTMAX_MAX = -1; const int PTRDIFF_MIN = -9223372036854775808; const int PTRDIFF_MAX = 9223372036854775807; const int SIZE_MAX = -1; const int SIG_ATOMIC_MIN = -2147483648; const int SIG_ATOMIC_MAX = 2147483647; const int WCHAR_MIN = 0; const int WCHAR_MAX = 65535; const int WINT_MIN = 0; const int WINT_MAX = 65535;