Пример #1
0
import Api
from Api import Api
from Api import Function, Typedef, Enum
from Api import Return, Parameter, Input, Output, InputOutput
from Api import Enumerant
from Api import Extension
from Api import StateType, State

cgl = Api()

CGLContextObj = Typedef('CGLContextObj','void *')
CGLContextObj.default = '0'

CGLPixelFormatObj = Typedef('CGLPixelFormatObj','void *')
CGLPixelFormatObj.default = '0'

CGLRendererInfoObj = Typedef('CGLRendererInfoObj','void *')
CGLRendererInfoObj.default = '0'

CGLPBufferObj = Typedef('CGLPBufferObj','void *')
CGLPBufferObj.default = '0'

CGLShareGroupObj = Typedef('CGLShareGroupObj','void *')
CGLShareGroupObj.default = '0'

IOSurfaceRef = Typedef('IOSurfaceRef','struct __IOSurface *')
IOSurfaceRef.default = '0'

CGSConnectionID = Typedef('CGSConnectionID','void *')

CGSWindowID = Typedef('CGSWindowID','long long')
Пример #2
0
import Api
from Api import Api
from Api import Function, Typedef, Enum
from Api import Return, Parameter, Input, Output, InputOutput
from Api import Enumerant

egl = Api()
EGLNativeWindowType = Typedef('EGLNativeWindowType','struct ANativeWindow*')
EGLNativeWindowType.default = '0'

EGLNativePixmapType = Typedef('EGLNativePixmapType','struct egl_native_pixmap_t*')
EGLNativePixmapType.default = '0'

EGLNativeDisplayType = Typedef('EGLNativeDisplayType','void*')
EGLNativeDisplayType.default = '0'

NativeDisplayType = Typedef('NativeDisplayType','EGLNativeDisplayType')
NativeDisplayType.default = '0'

NativePixmapType = Typedef('NativePixmapType','EGLNativePixmapType ')
NativePixmapType.default = '0'

NativeWindowType = Typedef('NativeWindowType','EGLNativeWindowType ')
NativeWindowType.default = '0'

EGLint = Typedef('EGLint','int')
EGLint.default = '0'

EGLBoolean = Typedef('EGLBoolean','unsigned int')
EGLBoolean.default = '0'
Пример #3
0
import Api
from Api import Api
from Api import Function, Typedef, Enum
from Api import Return, Parameter, Input, Output, InputOutput
from Api import Enumerant

egl = Api()
EGLNativeWindowType = Typedef('EGLNativeWindowType', 'struct ANativeWindow*')
EGLNativeWindowType.default = '0'

EGLNativePixmapType = Typedef('EGLNativePixmapType',
                              'struct egl_native_pixmap_t*')
EGLNativePixmapType.default = '0'

EGLNativeDisplayType = Typedef('EGLNativeDisplayType', 'void*')
EGLNativeDisplayType.default = '0'

NativeDisplayType = Typedef('NativeDisplayType', 'EGLNativeDisplayType')
NativeDisplayType.default = '0'

NativePixmapType = Typedef('NativePixmapType', 'EGLNativePixmapType ')
NativePixmapType.default = '0'

NativeWindowType = Typedef('NativeWindowType', 'EGLNativeWindowType ')
NativeWindowType.default = '0'

EGLint = Typedef('EGLint', 'int')
EGLint.default = '0'

EGLBoolean = Typedef('EGLBoolean', 'unsigned int')
EGLBoolean.default = '0'
Пример #4
0
import Api
from Api import Api
from Api import Function, Typedef, Enum
from Api import Return, Parameter, Input, Output, InputOutput
from Api import Enumerant

cgl = Api()
CGLContextObj = Typedef('CGLContextObj','void *')
CGLContextObj.default = '0'

CGLPixelFormatObj = Typedef('CGLPixelFormatObj','void *')
CGLPixelFormatObj.default = '0'

CGLRendererInfoObj = Typedef('CGLRendererInfoObj','void *')
CGLRendererInfoObj.default = '0'

CGLPBufferObj = Typedef('CGLPBufferObj','void *')
CGLPBufferObj.default = '0'

CGLShareGroupObj = Typedef('CGLShareGroupObj','void *')
CGLShareGroupObj.default = '0'

IOSurfaceRef = Typedef('IOSurfaceRef','void *')
IOSurfaceRef.default = '0'

CGSConnectionID = Typedef('CGSConnectionID','void *')

CGSWindowID = Typedef('CGSWindowID','void *')

CGSSurfaceID = Typedef('CGSSurfaceID','void *')
Пример #5
0
import Api
from Api import Api
from Api import Function, Typedef, Enum
from Api import Return, Parameter, Input, Output, InputOutput
from Api import Enumerant
from Api import Extension
from Api import StateType, State

win32 = Api()

VOID = Typedef('VOID','void')

PVOID = Typedef('PVOID','void *')
PVOID.default = '0'

HANDLE = Typedef('HANDLE','PVOID')
HANDLE.default = '0'

LPCSTR = Typedef('LPCSTR','const char *')
LPCSTR.default = '0'

INT32 = Typedef('INT32','signed int')
INT32.default = '0'

INT64 = Typedef('INT64','signed __int64')
INT64.default = '0'

LPVOID = Typedef('LPVOID','void *')
LPVOID.default = '0'

BOOL = Typedef('BOOL','int')