Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## generated by RPythonic 0.1.6
- ## http://code.google.com/p/rpythonic/
- import ctypes
- from ctypes import *
- _lib = ctypes.CDLL('lib/libblender.so')
- def _c_external_function( name, args=[], result=ctypes.c_void_p ):
- """Build and apply a ctypes prototype complete with parameter flags"""
- atypes = []; aflags = []
- for arg in args:
- atypes.append(arg[1])
- aflags.append((arg[2], arg[0]) + arg[3:])
- try: return ctypes.CFUNCTYPE(result, *atypes)((name, _lib), tuple(aflags))
- except: print( 'undefined symbol: can not load->', name)
- #size_t <TypeDecl=int>
- #__builtin_va_list <TypeDecl=int>
- #__gnuc_va_list <TypeDecl=int>
- #__int8_t <TypeDecl=int>
- #__uint8_t <TypeDecl=int>
- #__int16_t <TypeDecl=int>
- #__uint16_t <TypeDecl=int>
- #__int_least16_t <TypeDecl=int>
- #__uint_least16_t <TypeDecl=int>
- #__int32_t <TypeDecl=int>
- #__uint32_t <TypeDecl=int>
- #__int_least32_t <TypeDecl=int>
- #__uint_least32_t <TypeDecl=int>
- #_LOCK_T <TypeDecl=int>
- #_LOCK_RECURSIVE_T <TypeDecl=int>
- #_off_t <TypeDecl=int>
- #__dev_t <TypeDecl=int>
- #__uid_t <TypeDecl=int>
- #__gid_t <TypeDecl=int>
- #_off64_t <TypeDecl=int>
- #_fpos_t <TypeDecl=int>
- #_ssize_t <TypeDecl=int>
- #wint_t <TypeDecl=int>
- #_mbstate_t <TypeDecl=int>
- #_flock_t <TypeDecl=int>
- #_iconv_t <TypeDecl=int>
- #__ULong <TypeDecl=int>
- #__FILE <TypeDecl=int>
- #ptrdiff_t <TypeDecl=int>
- #wchar_t <TypeDecl=int>
- #__off_t <TypeDecl=int>
- #__pid_t <TypeDecl=int>
- #__loff_t <TypeDecl=int>
- #u_char <TypeDecl=int>
- #u_short <TypeDecl=int>
- #u_int <TypeDecl=int>
- #u_long <TypeDecl=int>
- #ushort <TypeDecl=int>
- #uint <TypeDecl=int>
- #clock_t <TypeDecl=int>
- #time_t <TypeDecl=int>
- #daddr_t <TypeDecl=int>
- #caddr_t <TypeDecl=int>
- #ino_t <TypeDecl=int>
- #off_t <TypeDecl=int>
- #dev_t <TypeDecl=int>
- #uid_t <TypeDecl=int>
- #gid_t <TypeDecl=int>
- #pid_t <TypeDecl=int>
- #key_t <TypeDecl=int>
- #ssize_t <TypeDecl=int>
- #mode_t <TypeDecl=int>
- #nlink_t <TypeDecl=int>
- #fd_mask <TypeDecl=int>
- #_types_fd_set <TypeDecl=int>
- #clockid_t <TypeDecl=int>
- #timer_t <TypeDecl=int>
- #useconds_t <TypeDecl=int>
- #suseconds_t <TypeDecl=int>
- #FILE <TypeDecl=int>
- #fpos_t <TypeDecl=int>
- #cookie_read_function_t <TypeDecl=int>
- #cookie_write_function_t <TypeDecl=int>
- #cookie_seek_function_t <TypeDecl=int>
- #cookie_close_function_t <TypeDecl=int>
- #cookie_io_functions_t <TypeDecl=int>
- #div_t <TypeDecl=int>
- #ldiv_t <TypeDecl=int>
- #lldiv_t <TypeDecl=int>
- #sigset_t <TypeDecl=int>
- #_sig_func_ptr <TypeDecl=int>
- #sig_atomic_t <TypeDecl=int>
- #__tzrule_type <TypeDecl=int>
- #__tzinfo_type <TypeDecl=int>
- #mbstate_t <TypeDecl=int>
- #uintptr_t <TypeDecl=long>
- #intptr_t <TypeDecl=long>
- #pthread_rwlock_t <TypeDecl=union>
- #pthread_mutex_t <TypeDecl=union>
- MEM_allocN_len = _c_external_function( "MEM_allocN_len", [],
- ctypes.c_size_t )
- MEM_freeN = _c_external_function( "MEM_freeN", [],
- ctypes.c_short )
- MEM_testN = _c_external_function( "MEM_testN", [],
- ctypes.c_short )
- MEM_dupallocN = _c_external_function( "MEM_dupallocN", [],
- ctypes.c_void_p )
- MEM_reallocN = _c_external_function( "MEM_reallocN", [
- ("vmemh", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("len", ctypes.c_size_t, 1),],
- ctypes.c_void_p )
- MEM_callocN = _c_external_function( "MEM_callocN", [
- ("len", ctypes.c_size_t, 1),
- ("str", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- MEM_mallocN = _c_external_function( "MEM_mallocN", [
- ("len", ctypes.c_size_t, 1),
- ("str", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- MEM_mapallocN = _c_external_function( "MEM_mapallocN", [
- ("len", ctypes.c_size_t, 1),
- ("str", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- MEM_printmemlist_pydict = _c_external_function( "MEM_printmemlist_pydict", [],
- ctypes.c_void_p )
- MEM_printmemlist = _c_external_function( "MEM_printmemlist", [],
- ctypes.c_void_p )
- MEM_callbackmemlist = _c_external_function( "MEM_callbackmemlist", [
- ("func", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- MEM_printmemlist_stats = _c_external_function( "MEM_printmemlist_stats", [],
- ctypes.c_void_p )
- MEM_set_error_callback = _c_external_function( "MEM_set_error_callback", [
- ("func", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- MEM_check_memory_integrity = _c_external_function( "MEM_check_memory_integrity", [],
- ctypes.c_int )
- MEM_set_lock_callback = _c_external_function( "MEM_set_lock_callback", [
- ("lock", ctypes.c_void_p, 1),
- ("unlock", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- MEM_set_memory_debug = _c_external_function( "MEM_set_memory_debug", [],
- ctypes.c_void_p )
- MEM_get_memory_in_use = _c_external_function( "MEM_get_memory_in_use", [],
- ctypes.c_void_p )
- MEM_get_mapped_memory_in_use = _c_external_function( "MEM_get_mapped_memory_in_use", [],
- ctypes.c_void_p )
- MEM_get_memory_blocks_in_use = _c_external_function( "MEM_get_memory_blocks_in_use", [],
- ctypes.c_int )
- MEM_reset_peak_memory = _c_external_function( "MEM_reset_peak_memory", [],
- ctypes.c_void_p )
- MEM_get_peak_memory = _c_external_function( "MEM_get_peak_memory", [],
- ctypes.c_void_p )
- #class bArgs(ctypes.Structure): pass # typedef or forward reference #
- #class bArgs(ctypes.Structure): pass # typedef or forward reference #
- BA_ArgCallback = _c_external_function( "BA_ArgCallback", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- BLI_argsInit = _c_external_function( "BLI_argsInit", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),],
- ctypes.c_void_p )
- BLI_argsFree = _c_external_function( "BLI_argsFree", [
- ("ba", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_argsAdd = _c_external_function( "BLI_argsAdd", [
- ("ba", ctypes.c_void_p, 1),
- ("pass", ctypes.c_int, 1),
- ("short_arg", ctypes.c_char_p, 1),
- ("long_arg", ctypes.c_char_p, 1),
- ("doc", ctypes.c_char_p, 1),
- ("cb", ctypes.c_void_p, 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_argsAddCase = _c_external_function( "BLI_argsAddCase", [
- ("ba", ctypes.c_void_p, 1),
- ("pass", ctypes.c_int, 1),
- ("short_arg", ctypes.c_char_p, 1),
- ("short_case", ctypes.c_int, 1),
- ("long_arg", ctypes.c_char_p, 1),
- ("long_case", ctypes.c_int, 1),
- ("doc", ctypes.c_char_p, 1),
- ("cb", ctypes.c_void_p, 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_argsParse = _c_external_function( "BLI_argsParse", [
- ("ba", ctypes.c_void_p, 1),
- ("pass", ctypes.c_int, 1),
- ("default_cb", ctypes.c_void_p, 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_argsPrintArgDoc = _c_external_function( "BLI_argsPrintArgDoc", [
- ("ba", ctypes.c_void_p, 1),
- ("arg", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_argsPrintOtherDoc = _c_external_function( "BLI_argsPrintOtherDoc", [
- ("ba", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_argsPrint = _c_external_function( "BLI_argsPrint", [
- ("ba", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_argsArgv = _c_external_function( "BLI_argsArgv", [
- ("ba", ctypes.c_void_p, 1),],
- ctypes.c_char_p )
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- BLI_threadapi_init = _c_external_function( "BLI_threadapi_init", [],
- ctypes.c_void_p )
- BLI_init_threads = _c_external_function( "BLI_init_threads", [
- ("threadbase", ctypes.c_void_p, 1),
- ("do_thread", ctypes.c_void_p, 1),
- ("tot", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_available_threads = _c_external_function( "BLI_available_threads", [
- ("threadbase", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_available_thread_index = _c_external_function( "BLI_available_thread_index", [
- ("threadbase", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_insert_thread = _c_external_function( "BLI_insert_thread", [
- ("threadbase", ctypes.c_void_p, 1),
- ("callerdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_remove_thread = _c_external_function( "BLI_remove_thread", [
- ("threadbase", ctypes.c_void_p, 1),
- ("callerdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_remove_thread_index = _c_external_function( "BLI_remove_thread_index", [
- ("threadbase", ctypes.c_void_p, 1),
- ("index", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_remove_threads = _c_external_function( "BLI_remove_threads", [
- ("threadbase", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_end_threads = _c_external_function( "BLI_end_threads", [
- ("threadbase", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_thread_is_main = _c_external_function( "BLI_thread_is_main", [],
- ctypes.c_int )
- BLI_system_thread_count = _c_external_function( "BLI_system_thread_count", [],
- ctypes.c_int )
- BLI_lock_thread = _c_external_function( "BLI_lock_thread", [
- ("type", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_unlock_thread = _c_external_function( "BLI_unlock_thread", [
- ("type", ctypes.c_int, 1),],
- ctypes.c_void_p )
- #ThreadMutex <TypeDecl=pthread_mutex_t>
- BLI_mutex_init = _c_external_function( "BLI_mutex_init", [
- ("mutex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_mutex_lock = _c_external_function( "BLI_mutex_lock", [
- ("mutex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_mutex_unlock = _c_external_function( "BLI_mutex_unlock", [
- ("mutex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_mutex_end = _c_external_function( "BLI_mutex_end", [
- ("mutex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #ThreadRWMutex <TypeDecl=pthread_rwlock_t>
- BLI_rw_mutex_init = _c_external_function( "BLI_rw_mutex_init", [
- ("mutex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_rw_mutex_lock = _c_external_function( "BLI_rw_mutex_lock", [
- ("mutex", ctypes.c_void_p, 1),
- ("mode", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_rw_mutex_unlock = _c_external_function( "BLI_rw_mutex_unlock", [
- ("mutex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_rw_mutex_end = _c_external_function( "BLI_rw_mutex_end", [
- ("mutex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class ThreadedWorker(ctypes.Structure): pass # typedef or forward reference #
- BLI_create_worker = _c_external_function( "BLI_create_worker", [
- ("do_thread", ctypes.c_void_p, 1),
- ("tot", ctypes.c_int, 1),
- ("sleep_time", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_end_worker = _c_external_function( "BLI_end_worker", [
- ("worker", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_destroy_worker = _c_external_function( "BLI_destroy_worker", [
- ("worker", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_insert_work = _c_external_function( "BLI_insert_work", [
- ("worker", ctypes.c_void_p, 1),
- ("param", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- #class ThreadQueue(ctypes.Structure): pass # typedef or forward reference #
- BLI_thread_queue_init = _c_external_function( "BLI_thread_queue_init", [],
- ctypes.c_void_p )
- BLI_thread_queue_free = _c_external_function( "BLI_thread_queue_free", [
- ("queue", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_thread_queue_push = _c_external_function( "BLI_thread_queue_push", [
- ("queue", ctypes.c_void_p, 1),
- ("work", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_thread_queue_pop = _c_external_function( "BLI_thread_queue_pop", [
- ("queue", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_thread_queue_pop_timeout = _c_external_function( "BLI_thread_queue_pop_timeout", [
- ("queue", ctypes.c_void_p, 1),
- ("ms", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_thread_queue_size = _c_external_function( "BLI_thread_queue_size", [
- ("queue", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_thread_queue_nowait = _c_external_function( "BLI_thread_queue_nowait", [
- ("queue", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #GEN_errorstream <TypeDecl=FILE>
- #GEN_userstream <TypeDecl=FILE>
- GEN_init_messaging_system = _c_external_function( "GEN_init_messaging_system", [],
- ctypes.c_void_p )
- class Link(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),]
- class LinkData(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "data", ctypes.POINTER( ctypes.c_void_p ) ),]
- class ListBase(ctypes.Structure): _fields_=[
- ( "first", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "last", ctypes.POINTER( ctypes.c_void_p ) ),]
- #class Library(ctypes.Structure): pass # typedef or forward reference #
- #class FileData(ctypes.Structure): pass # typedef or forward reference #
- #class ID(ctypes.Structure): pass # typedef or forward reference #
- class IDPropertyData(ctypes.Structure): _fields_=[
- ( "pointer", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "group", ctypes.c_void_p ),
- ( "val", ctypes.c_int ),
- ( "val2", ctypes.c_int ),]
- class IDProperty(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "type", ctypes.c_char ),
- ( "subtype", ctypes.c_char ),
- ( "flag", ctypes.c_short ),
- ( "name", ctypes.c_char ),
- ( "saved", ctypes.c_int ),
- ( "data", ctypes.c_void_p ),
- ( "len", ctypes.c_int ),
- ( "totallen", ctypes.c_int ),]
- class ID(ctypes.Structure): _fields_=[
- ( "next", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "prev", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "newid", ctypes.c_void_p ),
- ( "lib", ctypes.c_void_p ),
- ( "name", ctypes.c_char ),
- ( "us", ctypes.c_short ),
- ( "flag", ctypes.c_short ),
- ( "icon_id", ctypes.c_int ),
- ( "properties", ctypes.c_void_p ),]
- class Library(ctypes.Structure): _fields_=[
- ( "id", ctypes.c_void_p ),
- ( "idblock", ctypes.c_void_p ),
- ( "filedata", ctypes.c_void_p ),
- ( "name", ctypes.c_char ),
- ( "filepath", ctypes.c_char ),
- ( "tot", ctypes.c_int ),
- ( "pad", ctypes.c_int ),
- ( "parent", ctypes.c_void_p ),]
- class PreviewImage(ctypes.Structure): _fields_=[
- ( "w", ctypes.c_int ),
- ( "h", ctypes.c_int ),
- ( "changed", ctypes.c_short ),
- ( "changed_timestamp", ctypes.c_short ),
- ( "rect", ctypes.POINTER( ctypes.c_int ) ),]
- class vec2s(ctypes.Structure): _fields_=[
- ( "x", ctypes.c_short ),
- ( "y", ctypes.c_short ),]
- class vec2f(ctypes.Structure): _fields_=[
- ( "x", ctypes.c_float ),
- ( "y", ctypes.c_float ),]
- class rcti(ctypes.Structure): _fields_=[
- ( "xmin", ctypes.c_int ),
- ( "xmax", ctypes.c_int ),
- ( "ymin", ctypes.c_int ),
- ( "ymax", ctypes.c_int ),]
- class rctf(ctypes.Structure): _fields_=[
- ( "xmin", ctypes.c_float ),
- ( "xmax", ctypes.c_float ),
- ( "ymin", ctypes.c_float ),
- ( "ymax", ctypes.c_float ),]
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- #class Brush(ctypes.Structure): pass # typedef or forward reference #
- #class World(ctypes.Structure): pass # typedef or forward reference #
- #class Scene(ctypes.Structure): pass # typedef or forward reference #
- #class Image(ctypes.Structure): pass # typedef or forward reference #
- #class Group(ctypes.Structure): pass # typedef or forward reference #
- #class Text(ctypes.Structure): pass # typedef or forward reference #
- #class bNodeTree(ctypes.Structure): pass # typedef or forward reference #
- #class AnimData(ctypes.Structure): pass # typedef or forward reference #
- #class Editing(ctypes.Structure): pass # typedef or forward reference #
- #class SceneStats(ctypes.Structure): pass # typedef or forward reference #
- #class bGPdata(ctypes.Structure): pass # typedef or forward reference #
- class Base(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "lay", ctypes.c_int ),
- ( "selcol", ctypes.c_int ),
- ( "flag", ctypes.c_int ),
- ( "sx", ctypes.c_short ),
- ( "sy", ctypes.c_short ),
- ( "object", ctypes.c_void_p ),]
- class AviCodecData(ctypes.Structure): _fields_=[
- ( "lpFormat", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "lpParms", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "cbFormat", ctypes.c_int ),
- ( "cbParms", ctypes.c_int ),
- ( "fccType", ctypes.c_int ),
- ( "fccHandler", ctypes.c_int ),
- ( "dwKeyFrameEvery", ctypes.c_int ),
- ( "dwQuality", ctypes.c_int ),
- ( "dwBytesPerSecond", ctypes.c_int ),
- ( "dwFlags", ctypes.c_int ),
- ( "dwInterleaveEvery", ctypes.c_int ),
- ( "pad", ctypes.c_int ),
- ( "avicodecname", ctypes.c_char ),]
- class QuicktimeCodecData(ctypes.Structure): _fields_=[
- ( "cdParms", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "pad", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "cdSize", ctypes.c_int ),
- ( "pad2", ctypes.c_int ),
- ( "qtcodecname", ctypes.c_char ),]
- class QuicktimeCodecSettings(ctypes.Structure): _fields_=[
- ( "codecType", ctypes.c_int ),
- ( "codecSpatialQuality", ctypes.c_int ),
- ( "codec", ctypes.c_int ),
- ( "codecFlags", ctypes.c_int ),
- ( "colorDepth", ctypes.c_int ),
- ( "codecTemporalQuality", ctypes.c_int ),
- ( "minSpatialQuality", ctypes.c_int ),
- ( "minTemporalQuality", ctypes.c_int ),
- ( "keyFrameRate", ctypes.c_int ),
- ( "bitRate", ctypes.c_int ),
- ( "audiocodecType", ctypes.c_int ),
- ( "audioSampleRate", ctypes.c_int ),
- ( "audioBitDepth", ctypes.c_short ),
- ( "audioChannels", ctypes.c_short ),
- ( "audioCodecFlags", ctypes.c_int ),
- ( "audioBitRate", ctypes.c_int ),
- ( "pad1", ctypes.c_int ),]
- class FFMpegCodecData(ctypes.Structure): _fields_=[
- ( "type", ctypes.c_int ),
- ( "codec", ctypes.c_int ),
- ( "audio_codec", ctypes.c_int ),
- ( "video_bitrate", ctypes.c_int ),
- ( "audio_bitrate", ctypes.c_int ),
- ( "audio_mixrate", ctypes.c_int ),
- ( "audio_volume", ctypes.c_float ),
- ( "gop_size", ctypes.c_int ),
- ( "flags", ctypes.c_int ),
- ( "rc_min_rate", ctypes.c_int ),
- ( "rc_max_rate", ctypes.c_int ),
- ( "rc_buffer_size", ctypes.c_int ),
- ( "mux_packet_size", ctypes.c_int ),
- ( "mux_rate", ctypes.c_int ),
- ( "properties", ctypes.c_void_p ),]
- class AudioData(ctypes.Structure): _fields_=[
- ( "mixrate", ctypes.c_int ),
- ( "main", ctypes.c_float ),
- ( "speed_of_sound", ctypes.c_float ),
- ( "doppler_factor", ctypes.c_float ),
- ( "distance_model", ctypes.c_int ),
- ( "flag", ctypes.c_short ),
- ( "pad", ctypes.c_short ),]
- class SceneRenderLayer(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "name", ctypes.c_char ),
- ( "mat_override", ctypes.c_void_p ),
- ( "light_override", ctypes.c_void_p ),
- ( "lay", ctypes.c_int ),
- ( "lay_zmask", ctypes.c_int ),
- ( "layflag", ctypes.c_int ),
- ( "pad", ctypes.c_int ),
- ( "passflag", ctypes.c_int ),
- ( "pass_xor", ctypes.c_int ),]
- class RenderData(ctypes.Structure): _fields_=[
- ( "avicodecdata", ctypes.c_void_p ),
- ( "qtcodecdata", ctypes.c_void_p ),
- ( "qtcodecsettings", ctypes.c_void_p ),
- ( "ffcodecdata", ctypes.c_void_p ),
- ( "cfra", ctypes.c_int ),
- ( "sfra", ctypes.c_int ),
- ( "efra", ctypes.c_int ),
- ( "subframe", ctypes.c_float ),
- ( "psfra", ctypes.c_int ),
- ( "pefra", ctypes.c_int ),
- ( "images", ctypes.c_int ),
- ( "framapto", ctypes.c_int ),
- ( "flag", ctypes.c_short ),
- ( "threads", ctypes.c_short ),
- ( "framelen", ctypes.c_float ),
- ( "blurfac", ctypes.c_float ),
- ( "edgeR", ctypes.c_float ),
- ( "edgeG", ctypes.c_float ),
- ( "edgeB", ctypes.c_float ),
- ( "fullscreen", ctypes.c_short ),
- ( "xplay", ctypes.c_short ),
- ( "yplay", ctypes.c_short ),
- ( "freqplay", ctypes.c_short ),
- ( "depth", ctypes.c_short ),
- ( "attrib", ctypes.c_short ),
- ( "rt2", ctypes.c_short ),
- ( "frame_step", ctypes.c_short ),
- ( "stereomode", ctypes.c_short ),
- ( "dimensionspreset", ctypes.c_short ),
- ( "filtertype", ctypes.c_short ),
- ( "size", ctypes.c_short ),
- ( "maximsize", ctypes.c_short ),
- ( "xsch", ctypes.c_short ),
- ( "ysch", ctypes.c_short ),
- ( "xparts", ctypes.c_short ),
- ( "yparts", ctypes.c_short ),
- ( "winpos", ctypes.c_short ),
- ( "planes", ctypes.c_short ),
- ( "imtype", ctypes.c_short ),
- ( "subimtype", ctypes.c_short ),
- ( "bufflag", ctypes.c_short ),
- ( "quality", ctypes.c_short ),
- ( "displaymode", ctypes.c_short ),
- ( "rpad1", ctypes.c_short ),
- ( "rpad2", ctypes.c_short ),
- ( "scemode", ctypes.c_int ),
- ( "mode", ctypes.c_int ),
- ( "raytrace_options", ctypes.c_int ),
- ( "raytrace_structure", ctypes.c_short ),
- ( "renderer", ctypes.c_short ),
- ( "ocres", ctypes.c_short ),
- ( "pad4", ctypes.c_short ),
- ( "alphamode", ctypes.c_short ),
- ( "osa", ctypes.c_short ),
- ( "frs_sec", ctypes.c_short ),
- ( "edgeint", ctypes.c_short ),
- ( "safety", ctypes.c_void_p ),
- ( "border", ctypes.c_void_p ),
- ( "disprect", ctypes.c_void_p ),
- ( "layers", ctypes.c_void_p ),
- ( "actlay", ctypes.c_short ),
- ( "mblur_samples", ctypes.c_short ),
- ( "xasp", ctypes.c_float ),
- ( "yasp", ctypes.c_float ),
- ( "frs_sec_base", ctypes.c_float ),
- ( "gauss", ctypes.c_float ),
- ( "color_mgt_flag", ctypes.c_int ),
- ( "postgamma", ctypes.c_float ),
- ( "posthue", ctypes.c_float ),
- ( "postsat", ctypes.c_float ),
- ( "dither_intensity", ctypes.c_float ),
- ( "bake_osa", ctypes.c_short ),
- ( "bake_filter", ctypes.c_short ),
- ( "bake_mode", ctypes.c_short ),
- ( "bake_flag", ctypes.c_short ),
- ( "bake_normal_space", ctypes.c_short ),
- ( "bake_quad_split", ctypes.c_short ),
- ( "bake_maxdist", ctypes.c_float ),
- ( "bake_biasdist", ctypes.c_float ),
- ( "bake_pad", ctypes.c_float ),
- ( "backbuf", ctypes.c_char ),
- ( "pic", ctypes.c_char ),
- ( "stamp", ctypes.c_int ),
- ( "stamp_font_id", ctypes.c_short ),
- ( "pad3", ctypes.c_short ),
- ( "stamp_udata", ctypes.c_char ),
- ( "fg_stamp", ctypes.c_float ),
- ( "bg_stamp", ctypes.c_float ),
- ( "seq_prev_type", ctypes.c_char ),
- ( "seq_rend_type", ctypes.c_char ),
- ( "seq_flag", ctypes.c_char ),
- ( "pad5", ctypes.c_char ),
- ( "simplify_flag", ctypes.c_int ),
- ( "simplify_subsurf", ctypes.c_short ),
- ( "simplify_shadowsamples", ctypes.c_short ),
- ( "simplify_particles", ctypes.c_float ),
- ( "simplify_aosss", ctypes.c_float ),
- ( "cineonwhite", ctypes.c_short ),
- ( "cineonblack", ctypes.c_short ),
- ( "cineongamma", ctypes.c_float ),
- ( "jp2_preset", ctypes.c_short ),
- ( "jp2_depth", ctypes.c_short ),
- ( "rpad3", ctypes.c_int ),
- ( "domeres", ctypes.c_short ),
- ( "domemode", ctypes.c_short ),
- ( "domeangle", ctypes.c_short ),
- ( "dometilt", ctypes.c_short ),
- ( "domeresbuf", ctypes.c_float ),
- ( "pad2", ctypes.c_float ),
- ( "dometext", ctypes.c_void_p ),
- ( "engine", ctypes.c_char ),]
- class RenderProfile(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "name", ctypes.c_char ),
- ( "particle_perc", ctypes.c_short ),
- ( "subsurf_max", ctypes.c_short ),
- ( "shadbufsample_max", ctypes.c_short ),
- ( "pad1", ctypes.c_short ),
- ( "ao_error", ctypes.c_float ),
- ( "pad2", ctypes.c_float ),]
- class GameDome(ctypes.Structure): _fields_=[
- ( "res", ctypes.c_short ),
- ( "mode", ctypes.c_short ),
- ( "angle", ctypes.c_short ),
- ( "tilt", ctypes.c_short ),
- ( "resbuf", ctypes.c_float ),
- ( "pad2", ctypes.c_float ),
- ( "warptext", ctypes.c_void_p ),]
- class GameFraming(ctypes.Structure): _fields_=[
- ( "col", ctypes.c_float ),
- ( "type", ctypes.c_char ),
- ( "pad1", ctypes.c_char ),
- ( "pad2", ctypes.c_char ),
- ( "pad3", ctypes.c_char ),]
- class GameData(ctypes.Structure): _fields_=[
- ( "gravity", ctypes.c_float ),
- ( "activityBoxRadius", ctypes.c_float ),
- ( "mode", ctypes.c_short ),
- ( "flag", ctypes.c_short ),
- ( "matmode", ctypes.c_short ),
- ( "pad", ctypes.c_short ),
- ( "occlusionRes", ctypes.c_short ),
- ( "physicsEngine", ctypes.c_short ),
- ( "ticrate", ctypes.c_short ),
- ( "maxlogicstep", ctypes.c_short ),
- ( "physubstep", ctypes.c_short ),
- ( "maxphystep", ctypes.c_short ),
- ( "framing", ctypes.c_void_p ),
- ( "fullscreen", ctypes.c_short ),
- ( "xplay", ctypes.c_short ),
- ( "yplay", ctypes.c_short ),
- ( "freqplay", ctypes.c_short ),
- ( "depth", ctypes.c_short ),
- ( "attrib", ctypes.c_short ),
- ( "rt1", ctypes.c_short ),
- ( "rt2", ctypes.c_short ),
- ( "dome", ctypes.c_void_p ),
- ( "stereoflag", ctypes.c_short ),
- ( "stereomode", ctypes.c_short ),
- ( "xsch", ctypes.c_short ),
- ( "ysch", ctypes.c_short ),
- ( "eyeseparation", ctypes.c_float ),
- ( "pad1", ctypes.c_float ),]
- class TimeMarker(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "frame", ctypes.c_int ),
- ( "name", ctypes.c_char ),
- ( "flag", ctypes.c_int ),
- ( "camera", ctypes.c_void_p ),]
- class Paint(ctypes.Structure): _fields_=[
- ( "brush", ctypes.c_void_p ),
- ( "paint_cursor", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "paint_cursor_col", ctypes.c_char ),
- ( "flags", ctypes.c_int ),]
- class ImagePaintSettings(ctypes.Structure): _fields_=[
- ( "paint", ctypes.c_void_p ),
- ( "flag", ctypes.c_short ),
- ( "pad", ctypes.c_short ),
- ( "seam_bleed", ctypes.c_short ),
- ( "normal_angle", ctypes.c_short ),
- ( "screen_grab_size", ctypes.c_short ),
- ( "pad1", ctypes.c_int ),
- ( "paintcursor", ctypes.POINTER( ctypes.c_void_p ) ),]
- class ParticleBrushData(ctypes.Structure): _fields_=[
- ( "size", ctypes.c_short ),
- ( "step", ctypes.c_short ),
- ( "invert", ctypes.c_short ),
- ( "count", ctypes.c_short ),
- ( "flag", ctypes.c_int ),
- ( "strength", ctypes.c_float ),]
- class ParticleEditSettings(ctypes.Structure): _fields_=[
- ( "flag", ctypes.c_short ),
- ( "totrekey", ctypes.c_short ),
- ( "totaddkey", ctypes.c_short ),
- ( "brushtype", ctypes.c_short ),
- ( "brush", ctypes.c_void_p ),
- ( "paintcursor", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "emitterdist", ctypes.c_float ),
- ( "rt", ctypes.c_float ),
- ( "selectmode", ctypes.c_int ),
- ( "edittype", ctypes.c_int ),
- ( "draw_step", ctypes.c_int ),
- ( "fade_frames", ctypes.c_int ),
- ( "scene", ctypes.c_void_p ),
- ( "object", ctypes.c_void_p ),]
- class TransformOrientation(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "name", ctypes.c_char ),
- ( "mat", ctypes.c_float ),]
- class Sculpt(ctypes.Structure): _fields_=[
- ( "paint", ctypes.c_void_p ),
- ( "flags", ctypes.c_int ),
- ( "radial_symm", ctypes.c_int ),
- ( "last_x", ctypes.c_float ),
- ( "last_y", ctypes.c_float ),
- ( "last_angle", ctypes.c_float ),
- ( "draw_anchored", ctypes.c_int ),
- ( "anchored_size", ctypes.c_int ),
- ( "anchored_location", ctypes.c_float ),
- ( "anchored_initial_mouse", ctypes.c_float ),
- ( "draw_pressure", ctypes.c_int ),
- ( "pressure_value", ctypes.c_float ),
- ( "special_rotation", ctypes.c_float ),
- ( "pad", ctypes.c_int ),]
- class VPaint(ctypes.Structure): _fields_=[
- ( "paint", ctypes.c_void_p ),
- ( "flag", ctypes.c_short ),
- ( "pad", ctypes.c_short ),
- ( "tot", ctypes.c_int ),
- ( "vpaint_prev", ctypes.POINTER( ctypes.c_int ) ),
- ( "wpaint_prev", ctypes.c_void_p ),
- ( "paintcursor", ctypes.POINTER( ctypes.c_void_p ) ),]
- class ToolSettings(ctypes.Structure): _fields_=[
- ( "vpaint", ctypes.c_void_p ),
- ( "wpaint", ctypes.c_void_p ),
- ( "sculpt", ctypes.c_void_p ),
- ( "vgroup_weight", ctypes.c_float ),
- ( "cornertype", ctypes.c_short ),
- ( "editbutflag", ctypes.c_short ),
- ( "jointrilimit", ctypes.c_float ),
- ( "degr", ctypes.c_float ),
- ( "step", ctypes.c_short ),
- ( "turn", ctypes.c_short ),
- ( "extr_offs", ctypes.c_float ),
- ( "doublimit", ctypes.c_float ),
- ( "normalsize", ctypes.c_float ),
- ( "automerge", ctypes.c_short ),
- ( "selectmode", ctypes.c_short ),
- ( "segments", ctypes.c_short ),
- ( "rings", ctypes.c_short ),
- ( "vertices", ctypes.c_short ),
- ( "unwrapper", ctypes.c_short ),
- ( "uvcalc_radius", ctypes.c_float ),
- ( "uvcalc_cubesize", ctypes.c_float ),
- ( "uvcalc_margin", ctypes.c_float ),
- ( "uvcalc_mapdir", ctypes.c_short ),
- ( "uvcalc_mapalign", ctypes.c_short ),
- ( "uvcalc_flag", ctypes.c_short ),
- ( "uv_flag", ctypes.c_short ),
- ( "uv_selectmode", ctypes.c_short ),
- ( "uv_pad", ctypes.c_short ),
- ( "autoik_chainlen", ctypes.c_short ),
- ( "imapaint", ctypes.c_void_p ),
- ( "particle", ctypes.c_void_p ),
- ( "proportional_size", ctypes.c_float ),
- ( "select_thresh", ctypes.c_float ),
- ( "clean_thresh", ctypes.c_float ),
- ( "autokey_mode", ctypes.c_short ),
- ( "autokey_flag", ctypes.c_short ),
- ( "retopo_mode", ctypes.c_char ),
- ( "retopo_paint_tool", ctypes.c_char ),
- ( "line_div", ctypes.c_char ),
- ( "ellipse_div", ctypes.c_char ),
- ( "retopo_hotspot", ctypes.c_char ),
- ( "multires_subdiv_type", ctypes.c_char ),
- ( "skgen_resolution", ctypes.c_short ),
- ( "skgen_threshold_internal", ctypes.c_float ),
- ( "skgen_threshold_external", ctypes.c_float ),
- ( "skgen_length_ratio", ctypes.c_float ),
- ( "skgen_length_limit", ctypes.c_float ),
- ( "skgen_angle_limit", ctypes.c_float ),
- ( "skgen_correlation_limit", ctypes.c_float ),
- ( "skgen_symmetry_limit", ctypes.c_float ),
- ( "skgen_retarget_angle_weight", ctypes.c_float ),
- ( "skgen_retarget_length_weight", ctypes.c_float ),
- ( "skgen_retarget_distance_weight", ctypes.c_float ),
- ( "skgen_options", ctypes.c_short ),
- ( "skgen_postpro", ctypes.c_char ),
- ( "skgen_postpro_passes", ctypes.c_char ),
- ( "skgen_subdivisions", ctypes.c_char ),
- ( "skgen_multi_level", ctypes.c_char ),
- ( "skgen_template", ctypes.c_void_p ),
- ( "bone_sketching", ctypes.c_char ),
- ( "bone_sketching_convert", ctypes.c_char ),
- ( "skgen_subdivision_number", ctypes.c_char ),
- ( "skgen_retarget_options", ctypes.c_char ),
- ( "skgen_retarget_roll", ctypes.c_char ),
- ( "skgen_side_string", ctypes.c_char ),
- ( "skgen_num_string", ctypes.c_char ),
- ( "edge_mode", ctypes.c_char ),
- ( "snap_mode", ctypes.c_short ),
- ( "snap_flag", ctypes.c_short ),
- ( "snap_target", ctypes.c_short ),
- ( "proportional", ctypes.c_short ),
- ( "prop_mode", ctypes.c_short ),
- ( "proportional_objects", ctypes.c_char ),
- ( "pad", ctypes.c_char ),
- ( "auto_normalize", ctypes.c_int ),
- ( "sculpt_paint_settings", ctypes.c_short ),
- ( "pad1", ctypes.c_short ),
- ( "sculpt_paint_unified_size", ctypes.c_int ),
- ( "sculpt_paint_unified_unprojected_radius", ctypes.c_float ),
- ( "sculpt_paint_unified_alpha", ctypes.c_float ),]
- class bStats(ctypes.Structure): _fields_=[
- ( "totobj", ctypes.c_int ),
- ( "totlamp", ctypes.c_int ),
- ( "totobjsel", ctypes.c_int ),
- ( "totcurve", ctypes.c_int ),
- ( "totmesh", ctypes.c_int ),
- ( "totarmature", ctypes.c_int ),
- ( "totvert", ctypes.c_int ),
- ( "totface", ctypes.c_int ),]
- class UnitSettings(ctypes.Structure): _fields_=[
- ( "scale_length", ctypes.c_float ),
- ( "system", ctypes.c_short ),
- ( "flag", ctypes.c_short ),]
- class PhysicsSettings(ctypes.Structure): _fields_=[
- ( "gravity", ctypes.c_float ),
- ( "flag", ctypes.c_int ),
- ( "quick_cache_step", ctypes.c_int ),
- ( "rt", ctypes.c_int ),]
- class Scene(ctypes.Structure): _fields_=[
- ( "id", ctypes.c_void_p ),
- ( "adt", ctypes.c_void_p ),
- ( "camera", ctypes.c_void_p ),
- ( "world", ctypes.c_void_p ),
- ( "set", ctypes.c_void_p ),
- ( "ima", ctypes.c_void_p ),
- ( "base", ctypes.c_void_p ),
- ( "basact", ctypes.c_void_p ),
- ( "obedit", ctypes.c_void_p ),
- ( "cursor", ctypes.c_float ),
- ( "twcent", ctypes.c_float ),
- ( "twmin", ctypes.c_float ),
- ( "twmax", ctypes.c_float ),
- ( "lay", ctypes.c_int ),
- ( "layact", ctypes.c_int ),
- ( "pad1", ctypes.c_int ),
- ( "flag", ctypes.c_short ),
- ( "use_nodes", ctypes.c_short ),
- ( "nodetree", ctypes.c_void_p ),
- ( "ed", ctypes.c_void_p ),
- ( "toolsettings", ctypes.c_void_p ),
- ( "stats", ctypes.c_void_p ),
- ( "r", ctypes.c_void_p ),
- ( "audio", ctypes.c_void_p ),
- ( "markers", ctypes.c_void_p ),
- ( "transform_spaces", ctypes.c_void_p ),
- ( "sound_scene", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "sound_scene_handle", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "sound_scrub_handle", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "fps_info", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "theDag", ctypes.c_void_p ),
- ( "dagisvalid", ctypes.c_short ),
- ( "dagflags", ctypes.c_short ),
- ( "recalc", ctypes.c_short ),
- ( "jumpframe", ctypes.c_short ),
- ( "pad5", ctypes.c_int ),
- ( "active_keyingset", ctypes.c_int ),
- ( "keyingsets", ctypes.c_void_p ),
- ( "framing", ctypes.c_void_p ),
- ( "gm", ctypes.c_void_p ),
- ( "unit", ctypes.c_void_p ),
- ( "gpd", ctypes.c_void_p ),
- ( "physics_settings", ctypes.c_void_p ),]
- #PaintFlags <TypeDecl=None>
- SculptFlags = {
- "SCULPT_SYMM_X" : 1,
- "SCULPT_SYMM_Y" : 2,
- "SCULPT_SYMM_Z" : 4,
- "SCULPT_LOCK_X" : 8,
- "SCULPT_LOCK_Y" : 16,
- "SCULPT_LOCK_Z" : 32,
- "SCULPT_SYMMETRY_FEATHER" : 64,
- "SCULPT_USE_OPENMP" : 128,
- }
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #btempdir <TypeDecl=char>
- addlisttolist = _c_external_function( "addlisttolist", [
- ("list1", ctypes.c_void_p, 1),
- ("list2", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_insertlink = _c_external_function( "BLI_insertlink", [
- ("listbase", ctypes.c_void_p, 1),
- ("vprevlink", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("vnewlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_findlink = _c_external_function( "BLI_findlink", [
- ("listbase", ctypes.c_void_p, 1),
- ("number", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_findindex = _c_external_function( "BLI_findindex", [
- ("listbase", ctypes.c_void_p, 1),
- ("vlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- BLI_findstring = _c_external_function( "BLI_findstring", [
- ("listbase", ctypes.c_void_p, 1),
- ("id", ctypes.c_char_p, 1),
- ("offset", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_findstring_ptr = _c_external_function( "BLI_findstring_ptr", [
- ("listbase", ctypes.c_void_p, 1),
- ("id", ctypes.c_char_p, 1),
- ("offset", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_findstringindex = _c_external_function( "BLI_findstringindex", [
- ("listbase", ctypes.c_void_p, 1),
- ("id", ctypes.c_char_p, 1),
- ("offset", ctypes.c_int, 1),],
- ctypes.c_int )
- BLI_freelistN = _c_external_function( "BLI_freelistN", [
- ("listbase", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_addtail = _c_external_function( "BLI_addtail", [
- ("listbase", ctypes.c_void_p, 1),
- ("vlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_remlink = _c_external_function( "BLI_remlink", [
- ("listbase", ctypes.c_void_p, 1),
- ("vlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_remlink_safe = _c_external_function( "BLI_remlink_safe", [
- ("listbase", ctypes.c_void_p, 1),
- ("vlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- BLI_addhead = _c_external_function( "BLI_addhead", [
- ("listbase", ctypes.c_void_p, 1),
- ("vlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_insertlinkbefore = _c_external_function( "BLI_insertlinkbefore", [
- ("listbase", ctypes.c_void_p, 1),
- ("vnextlink", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("vnewlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_insertlinkafter = _c_external_function( "BLI_insertlinkafter", [
- ("listbase", ctypes.c_void_p, 1),
- ("vprevlink", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("vnewlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_sortlist = _c_external_function( "BLI_sortlist", [
- ("listbase", ctypes.c_void_p, 1),
- ("cmp", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_freelist = _c_external_function( "BLI_freelist", [
- ("listbase", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_countlist = _c_external_function( "BLI_countlist", [
- ("listbase", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_freelinkN = _c_external_function( "BLI_freelinkN", [
- ("listbase", ctypes.c_void_p, 1),
- ("vlink", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- BLI_duplicatelist = _c_external_function( "BLI_duplicatelist", [
- ("list1", ctypes.c_void_p, 1),
- ("list2", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_genericNodeN = _c_external_function( "BLI_genericNodeN", [],
- ctypes.c_void_p )
- BLI_strdup = _c_external_function( "BLI_strdup", [
- ("str", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_strdupn = _c_external_function( "BLI_strdupn", [
- ("str", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),],
- ctypes.c_char )
- BLI_strdupcat = _c_external_function( "BLI_strdupcat", [
- ("str1", ctypes.c_char_p, 1),
- ("str2", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_strncpy = _c_external_function( "BLI_strncpy", [
- ("dst", ctypes.c_char_p, 1),
- ("src", ctypes.c_char_p, 1),
- ("maxncpy", ctypes.c_int, 1),],
- ctypes.c_char )
- BLI_getQuotedStr = _c_external_function( "BLI_getQuotedStr", [
- ("str", ctypes.c_char_p, 1),
- ("prefix", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_replacestr = _c_external_function( "BLI_replacestr", [
- ("str", ctypes.c_char_p, 1),
- ("oldText", ctypes.c_char_p, 1),
- ("newText", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_snprintf = _c_external_function( "BLI_snprintf", [
- ("buffer", ctypes.c_char_p, 1),
- ("count", ctypes.c_size_t, 1),
- ("format", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_sprintfN = _c_external_function( "BLI_sprintfN", [
- ("format", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_streq = _c_external_function( "BLI_streq", [
- ("a", ctypes.c_char_p, 1),
- ("b", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_strcaseeq = _c_external_function( "BLI_strcaseeq", [
- ("a", ctypes.c_char_p, 1),
- ("b", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_strcasestr = _c_external_function( "BLI_strcasestr", [
- ("s", ctypes.c_char_p, 1),
- ("find", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_strcasecmp = _c_external_function( "BLI_strcasecmp", [
- ("s1", ctypes.c_char_p, 1),
- ("s2", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_strncasecmp = _c_external_function( "BLI_strncasecmp", [
- ("s1", ctypes.c_char_p, 1),
- ("s2", ctypes.c_char_p, 1),
- ("n", ctypes.c_int, 1),],
- ctypes.c_int )
- BLI_natstrcmp = _c_external_function( "BLI_natstrcmp", [
- ("s1", ctypes.c_char_p, 1),
- ("s2", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_strnlen = _c_external_function( "BLI_strnlen", [
- ("str", ctypes.c_char_p, 1),
- ("maxlen", ctypes.c_size_t, 1),],
- ctypes.c_size_t )
- BLI_timestr = _c_external_function( "BLI_timestr", [
- ("_time", ctypes.c_double, 1),
- ("str", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_utf8_invalid_byte = _c_external_function( "BLI_utf8_invalid_byte", [
- ("str", ctypes.c_char_p, 1),
- ("length", ctypes.c_int, 1),],
- ctypes.c_int )
- BLI_utf8_invalid_strip = _c_external_function( "BLI_utf8_invalid_strip", [
- ("str", ctypes.c_char_p, 1),
- ("length", ctypes.c_int, 1),],
- ctypes.c_int )
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class direntry(ctypes.Structure): pass # typedef or forward reference #
- BLI_getDefaultDocumentFolder = _c_external_function( "BLI_getDefaultDocumentFolder", [],
- ctypes.c_char )
- BLI_get_folder = _c_external_function( "BLI_get_folder", [
- ("folder_id", ctypes.c_int, 1),
- ("subfolder", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_get_folder_create = _c_external_function( "BLI_get_folder_create", [
- ("folder_id", ctypes.c_int, 1),
- ("subfolder", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_setenv = _c_external_function( "BLI_setenv", [
- ("env", ctypes.c_char_p, 1),
- ("val", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_setenv_if_new = _c_external_function( "BLI_setenv_if_new", [
- ("env", ctypes.c_char_p, 1),
- ("val", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_make_file_string = _c_external_function( "BLI_make_file_string", [
- ("relabase", ctypes.c_char_p, 1),
- ("string", ctypes.c_char_p, 1),
- ("dir", ctypes.c_char_p, 1),
- ("file", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_make_exist = _c_external_function( "BLI_make_exist", [
- ("dir", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_make_existing_file = _c_external_function( "BLI_make_existing_file", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_split_dirfile = _c_external_function( "BLI_split_dirfile", [
- ("string", ctypes.c_char_p, 1),
- ("dir", ctypes.c_char_p, 1),
- ("file", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_join_dirfile = _c_external_function( "BLI_join_dirfile", [
- ("string", ctypes.c_char_p, 1),
- ("dir", ctypes.c_char_p, 1),
- ("file", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_path_basename = _c_external_function( "BLI_path_basename", [
- ("path", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BKE_rebase_path = _c_external_function( "BKE_rebase_path", [
- ("abs", ctypes.c_char_p, 1),
- ("abs_size", ctypes.c_int, 1),
- ("rel", ctypes.c_char_p, 1),
- ("rel_size", ctypes.c_int, 1),
- ("base_dir", ctypes.c_char_p, 1),
- ("src_dir", ctypes.c_char_p, 1),
- ("dest_dir", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_getlastdir = _c_external_function( "BLI_getlastdir", [
- ("dir", ctypes.c_char_p, 1),
- ("last", ctypes.c_char_p, 1),
- ("maxlen", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_testextensie = _c_external_function( "BLI_testextensie", [
- ("str", ctypes.c_char_p, 1),
- ("ext", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_testextensie_array = _c_external_function( "BLI_testextensie_array", [
- ("str", ctypes.c_char_p, 1),
- ("ext_array", ctypes.POINTER( ctypes.c_char_p ), 1),],
- ctypes.c_int )
- BLI_replace_extension = _c_external_function( "BLI_replace_extension", [
- ("path", ctypes.c_char_p, 1),
- ("maxlen", ctypes.c_int, 1),
- ("ext", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_uniquename = _c_external_function( "BLI_uniquename", [
- ("list", ctypes.c_void_p, 1),
- ("vlink", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("defname", ctypes.c_char, 1),
- ("delim", ctypes.c_char, 1),
- ("name_offs", ctypes.c_short, 1),
- ("len", ctypes.c_short, 1),],
- ctypes.c_void_p )
- BLI_newname = _c_external_function( "BLI_newname", [
- ("name", ctypes.c_char_p, 1),
- ("add", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_stringdec = _c_external_function( "BLI_stringdec", [
- ("string", ctypes.c_char_p, 1),
- ("head", ctypes.c_char_p, 1),
- ("start", ctypes.c_char_p, 1),
- ("numlen", ctypes.POINTER( ctypes.c_short ), 1),],
- ctypes.c_int )
- BLI_stringenc = _c_external_function( "BLI_stringenc", [
- ("string", ctypes.c_char_p, 1),
- ("head", ctypes.c_char_p, 1),
- ("tail", ctypes.c_char_p, 1),
- ("numlen", ctypes.c_short, 1),
- ("pic", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_splitdirstring = _c_external_function( "BLI_splitdirstring", [
- ("di", ctypes.c_char_p, 1),
- ("fi", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_clean = _c_external_function( "BLI_clean", [
- ("path", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_cleanup_file = _c_external_function( "BLI_cleanup_file", [
- ("relabase", ctypes.c_char_p, 1),
- ("dir", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_cleanup_dir = _c_external_function( "BLI_cleanup_dir", [
- ("relabase", ctypes.c_char_p, 1),
- ("dir", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_parent_dir = _c_external_function( "BLI_parent_dir", [
- ("path", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_has_parent = _c_external_function( "BLI_has_parent", [
- ("path", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_path_abs = _c_external_function( "BLI_path_abs", [
- ("path", ctypes.c_char_p, 1),
- ("basepath", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_path_frame = _c_external_function( "BLI_path_frame", [
- ("path", ctypes.c_char_p, 1),
- ("frame", ctypes.c_int, 1),
- ("digits", ctypes.c_int, 1),],
- ctypes.c_int )
- BLI_path_frame_range = _c_external_function( "BLI_path_frame_range", [
- ("path", ctypes.c_char_p, 1),
- ("sta", ctypes.c_int, 1),
- ("end", ctypes.c_int, 1),
- ("digits", ctypes.c_int, 1),],
- ctypes.c_int )
- BLI_path_cwd = _c_external_function( "BLI_path_cwd", [
- ("path", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_path_rel = _c_external_function( "BLI_path_rel", [
- ("file", ctypes.c_char_p, 1),
- ("relfile", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_char_switch = _c_external_function( "BLI_char_switch", [
- ("string", ctypes.c_char_p, 1),
- ("from", ctypes.c_char, 1),
- ("to", ctypes.c_char, 1),],
- ctypes.c_void_p )
- BLI_where_am_i = _c_external_function( "BLI_where_am_i", [
- ("fullname", ctypes.c_char_p, 1),
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- get_install_dir = _c_external_function( "get_install_dir", [],
- ctypes.c_char )
- BLI_where_is_temp = _c_external_function( "BLI_where_is_temp", [
- ("fullname", ctypes.c_char_p, 1),
- ("usertemp", ctypes.c_int, 1),],
- ctypes.c_void_p )
- #class direntry(ctypes.Structure): pass # typedef or forward reference #
- BLI_adddirstrings = _c_external_function( "BLI_adddirstrings", [],
- ctypes.c_void_p )
- BLI_builddir = _c_external_function( "BLI_builddir", [
- ("dirname", ctypes.c_char_p, 1),
- ("relname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_compare = _c_external_function( "BLI_compare", [
- ("entry1", ctypes.c_void_p, 1),
- ("entry2", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_filesize = _c_external_function( "BLI_filesize", [
- ("file", ctypes.c_int, 1),],
- ctypes.c_size_t )
- BLI_filepathsize = _c_external_function( "BLI_filepathsize", [
- ("path", ctypes.c_char_p, 1),],
- ctypes.c_size_t )
- BLI_diskfree = _c_external_function( "BLI_diskfree", [
- ("dir", ctypes.c_char_p, 1),],
- ctypes.c_double )
- BLI_getwdN = _c_external_function( "BLI_getwdN", [
- ("dir", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_getdir = _c_external_function( "BLI_getdir", [
- ("dirname", ctypes.c_char_p, 1),
- ("filelist", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_exist = _c_external_function( "BLI_exist", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_is_dir = _c_external_function( "BLI_is_dir", [
- ("file", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_read_file_as_lines = _c_external_function( "BLI_read_file_as_lines", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_free_file_lines = _c_external_function( "BLI_free_file_lines", [
- ("lines", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_file_older = _c_external_function( "BLI_file_older", [
- ("file1", ctypes.c_char_p, 1),
- ("file2", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_recurdir_fileops = _c_external_function( "BLI_recurdir_fileops", [
- ("dirname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BLI_link = _c_external_function( "BLI_link", [
- ("file", ctypes.c_char_p, 1),
- ("to", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_is_writable = _c_external_function( "BLI_is_writable", [
- ("filename", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_exists = _c_external_function( "BLI_exists", [
- ("file", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_copy_fileops = _c_external_function( "BLI_copy_fileops", [
- ("file", ctypes.c_char_p, 1),
- ("to", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_rename = _c_external_function( "BLI_rename", [
- ("from", ctypes.c_char_p, 1),
- ("to", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_gzip = _c_external_function( "BLI_gzip", [
- ("from", ctypes.c_char_p, 1),
- ("to", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_delete = _c_external_function( "BLI_delete", [
- ("file", ctypes.c_char_p, 1),
- ("dir", ctypes.c_int, 1),
- ("recursive", ctypes.c_int, 1),],
- ctypes.c_int )
- BLI_move = _c_external_function( "BLI_move", [
- ("file", ctypes.c_char_p, 1),
- ("to", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_touch = _c_external_function( "BLI_touch", [
- ("file", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_last_slash = _c_external_function( "BLI_last_slash", [
- ("string", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_add_slash = _c_external_function( "BLI_add_slash", [
- ("string", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BLI_del_slash = _c_external_function( "BLI_del_slash", [
- ("string", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- first_slash = _c_external_function( "first_slash", [
- ("string", ctypes.c_char_p, 1),],
- ctypes.c_char )
- BLI_setCmdCallBack = _c_external_function( "BLI_setCmdCallBack", [
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class rctf(ctypes.Structure): pass # typedef or forward reference #
- #class rcti(ctypes.Structure): pass # typedef or forward reference #
- BLI_rcti_is_empty = _c_external_function( "BLI_rcti_is_empty", [
- ("rect", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_rctf_is_empty = _c_external_function( "BLI_rctf_is_empty", [
- ("rect", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_init_rctf = _c_external_function( "BLI_init_rctf", [
- ("rect", ctypes.c_void_p, 1),
- ("xmin", ctypes.c_float, 1),
- ("xmax", ctypes.c_float, 1),
- ("ymin", ctypes.c_float, 1),
- ("ymax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- BLI_init_rcti = _c_external_function( "BLI_init_rcti", [
- ("rect", ctypes.c_void_p, 1),
- ("xmin", ctypes.c_int, 1),
- ("xmax", ctypes.c_int, 1),
- ("ymin", ctypes.c_int, 1),
- ("ymax", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_translate_rctf = _c_external_function( "BLI_translate_rctf", [
- ("rect", ctypes.c_void_p, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),],
- ctypes.c_void_p )
- BLI_translate_rcti = _c_external_function( "BLI_translate_rcti", [
- ("rect", ctypes.c_void_p, 1),
- ("x", ctypes.c_int, 1),
- ("y", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_resize_rcti = _c_external_function( "BLI_resize_rcti", [
- ("rect", ctypes.c_void_p, 1),
- ("x", ctypes.c_int, 1),
- ("y", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BLI_resize_rctf = _c_external_function( "BLI_resize_rctf", [
- ("rect", ctypes.c_void_p, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),],
- ctypes.c_void_p )
- BLI_in_rcti = _c_external_function( "BLI_in_rcti", [
- ("rect", ctypes.c_void_p, 1),
- ("x", ctypes.c_int, 1),
- ("y", ctypes.c_int, 1),],
- ctypes.c_int )
- BLI_in_rctf = _c_external_function( "BLI_in_rctf", [
- ("rect", ctypes.c_void_p, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),],
- ctypes.c_int )
- BLI_isect_rctf = _c_external_function( "BLI_isect_rctf", [
- ("src1", ctypes.c_void_p, 1),
- ("src2", ctypes.c_void_p, 1),
- ("dest", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_isect_rcti = _c_external_function( "BLI_isect_rcti", [
- ("src1", ctypes.c_void_p, 1),
- ("src2", ctypes.c_void_p, 1),
- ("dest", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BLI_union_rctf = _c_external_function( "BLI_union_rctf", [
- ("rcta", ctypes.c_void_p, 1),
- ("rctb", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_union_rcti = _c_external_function( "BLI_union_rcti", [
- ("rcti1", ctypes.c_void_p, 1),
- ("rcti2", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_copy_rcti_rctf = _c_external_function( "BLI_copy_rcti_rctf", [
- ("tar", ctypes.c_void_p, 1),
- ("src", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- print_rctf = _c_external_function( "print_rctf", [
- ("str", ctypes.c_char_p, 1),
- ("rect", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- print_rcti = _c_external_function( "print_rcti", [
- ("str", ctypes.c_char_p, 1),
- ("rect", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class EditVert(ctypes.Structure): pass # typedef or forward reference #
- BLI_addfillvert = _c_external_function( "BLI_addfillvert", [
- ("vec", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- BLI_addfilledge = _c_external_function( "BLI_addfilledge", [
- ("v1", ctypes.c_void_p, 1),
- ("v2", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_edgefill = _c_external_function( "BLI_edgefill", [
- ("mode", ctypes.c_int, 1),
- ("mat_nr", ctypes.c_int, 1),],
- ctypes.c_int )
- BLI_end_edgefill = _c_external_function( "BLI_end_edgefill", [],
- ctypes.c_void_p )
- BLI_setErrorCallBack = _c_external_function( "BLI_setErrorCallBack", [
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_setInterruptCallBack = _c_external_function( "BLI_setInterruptCallBack", [
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BLI_hnoise = _c_external_function( "BLI_hnoise", [
- ("noisesize", ctypes.c_float, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),],
- ctypes.c_float )
- BLI_hnoisep = _c_external_function( "BLI_hnoisep", [
- ("noisesize", ctypes.c_float, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),],
- ctypes.c_float )
- BLI_turbulence = _c_external_function( "BLI_turbulence", [
- ("noisesize", ctypes.c_float, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("nr", ctypes.c_int, 1),],
- ctypes.c_float )
- BLI_turbulence1 = _c_external_function( "BLI_turbulence1", [
- ("noisesize", ctypes.c_float, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("nr", ctypes.c_int, 1),],
- ctypes.c_float )
- BLI_gNoise = _c_external_function( "BLI_gNoise", [
- ("noisesize", ctypes.c_float, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("hard", ctypes.c_int, 1),
- ("noisebasis", ctypes.c_int, 1),],
- ctypes.c_float )
- BLI_gTurbulence = _c_external_function( "BLI_gTurbulence", [
- ("noisesize", ctypes.c_float, 1),
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("oct", ctypes.c_int, 1),
- ("hard", ctypes.c_int, 1),
- ("noisebasis", ctypes.c_int, 1),],
- ctypes.c_float )
- mg_fBm = _c_external_function( "mg_fBm", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("H", ctypes.c_float, 1),
- ("lacunarity", ctypes.c_float, 1),
- ("octaves", ctypes.c_float, 1),
- ("noisebasis", ctypes.c_int, 1),],
- ctypes.c_float )
- mg_MultiFractal = _c_external_function( "mg_MultiFractal", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("H", ctypes.c_float, 1),
- ("lacunarity", ctypes.c_float, 1),
- ("octaves", ctypes.c_float, 1),
- ("noisebasis", ctypes.c_int, 1),],
- ctypes.c_float )
- mg_VLNoise = _c_external_function( "mg_VLNoise", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("distortion", ctypes.c_float, 1),
- ("nbas1", ctypes.c_int, 1),
- ("nbas2", ctypes.c_int, 1),],
- ctypes.c_float )
- mg_HeteroTerrain = _c_external_function( "mg_HeteroTerrain", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("H", ctypes.c_float, 1),
- ("lacunarity", ctypes.c_float, 1),
- ("octaves", ctypes.c_float, 1),
- ("offset", ctypes.c_float, 1),
- ("noisebasis", ctypes.c_int, 1),],
- ctypes.c_float )
- mg_HybridMultiFractal = _c_external_function( "mg_HybridMultiFractal", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("H", ctypes.c_float, 1),
- ("lacunarity", ctypes.c_float, 1),
- ("octaves", ctypes.c_float, 1),
- ("offset", ctypes.c_float, 1),
- ("gain", ctypes.c_float, 1),
- ("noisebasis", ctypes.c_int, 1),],
- ctypes.c_float )
- mg_RidgedMultiFractal = _c_external_function( "mg_RidgedMultiFractal", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("H", ctypes.c_float, 1),
- ("lacunarity", ctypes.c_float, 1),
- ("octaves", ctypes.c_float, 1),
- ("offset", ctypes.c_float, 1),
- ("gain", ctypes.c_float, 1),
- ("noisebasis", ctypes.c_int, 1),],
- ctypes.c_float )
- voronoi = _c_external_function( "voronoi", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("da", ctypes.POINTER( ctypes.c_float ), 1),
- ("pa", ctypes.POINTER( ctypes.c_float ), 1),
- ("me", ctypes.c_float, 1),
- ("dtype", ctypes.c_int, 1),],
- ctypes.c_void_p )
- cellNoise = _c_external_function( "cellNoise", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),],
- ctypes.c_float )
- cellNoiseV = _c_external_function( "cellNoiseV", [
- ("x", ctypes.c_float, 1),
- ("y", ctypes.c_float, 1),
- ("z", ctypes.c_float, 1),
- ("ca", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class MemFile(ctypes.Structure): pass # typedef or forward reference #
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class ReportList(ctypes.Structure): pass # typedef or forward reference #
- #class Scene(ctypes.Structure): pass # typedef or forward reference #
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- BKE_read_file = _c_external_function( "BKE_read_file", [
- ("C", ctypes.c_void_p, 1),
- ("dir", ctypes.c_char_p, 1),
- ("type_r", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BKE_read_file_from_memory = _c_external_function( "BKE_read_file_from_memory", [
- ("C", ctypes.c_void_p, 1),
- ("filebuf", ctypes.c_char_p, 1),
- ("filelength", ctypes.c_int, 1),
- ("type_r", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BKE_read_file_from_memfile = _c_external_function( "BKE_read_file_from_memfile", [
- ("C", ctypes.c_void_p, 1),
- ("memfile", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_int )
- free_blender = _c_external_function( "free_blender", [],
- ctypes.c_void_p )
- initglobals = _c_external_function( "initglobals", [],
- ctypes.c_void_p )
- BKE_userdef_free = _c_external_function( "BKE_userdef_free", [],
- ctypes.c_void_p )
- set_blender_test_break_cb = _c_external_function( "set_blender_test_break_cb", [
- ("func", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- blender_test_break = _c_external_function( "blender_test_break", [],
- ctypes.c_int )
- BKE_write_undo = _c_external_function( "BKE_write_undo", [
- ("C", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BKE_undo_step = _c_external_function( "BKE_undo_step", [
- ("C", ctypes.c_void_p, 1),
- ("step", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BKE_undo_name = _c_external_function( "BKE_undo_name", [
- ("C", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BKE_reset_undo = _c_external_function( "BKE_reset_undo", [],
- ctypes.c_void_p )
- BKE_undo_menu_string = _c_external_function( "BKE_undo_menu_string", [],
- ctypes.c_char )
- BKE_undo_number = _c_external_function( "BKE_undo_number", [
- ("C", ctypes.c_void_p, 1),
- ("nr", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BKE_undo_save_quit = _c_external_function( "BKE_undo_save_quit", [],
- ctypes.c_void_p )
- BKE_undo_get_main = _c_external_function( "BKE_undo_get_main", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class ParameterList(ctypes.Structure): pass # typedef or forward reference #
- #class FunctionRNA(ctypes.Structure): pass # typedef or forward reference #
- #class PropertyRNA(ctypes.Structure): pass # typedef or forward reference #
- #class StructRNA(ctypes.Structure): pass # typedef or forward reference #
- #class BlenderRNA(ctypes.Structure): pass # typedef or forward reference #
- #class IDProperty(ctypes.Structure): pass # typedef or forward reference #
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class ReportList(ctypes.Structure): pass # typedef or forward reference #
- class PointerRNA(ctypes.Structure): _fields_=[
- ( "id", ctypes.c_void_p ),
- ( "type", ctypes.c_void_p ),
- ( "data", ctypes.POINTER( ctypes.c_void_p ) ),]
- class PropertyPointerRNA(ctypes.Structure): _fields_=[
- ( "ptr", ctypes.c_void_p ),
- ( "prop", ctypes.c_void_p ),]
- PropertyType = {
- "PROP_BOOLEAN" : 0,
- "PROP_INT" : 1,
- "PROP_FLOAT" : 2,
- "PROP_STRING" : 3,
- "PROP_ENUM" : 4,
- "PROP_POINTER" : 5,
- "PROP_COLLECTION" : 6,
- }
- PropertyUnit = {
- "PROP_UNIT_NONE" : 0,
- "PROP_UNIT_LENGTH" : 4194304,
- "PROP_UNIT_AREA" : 8388608,
- "PROP_UNIT_VOLUME" : 12582912,
- "PROP_UNIT_MASS" : 16777216,
- "PROP_UNIT_ROTATION" : 20971520,
- "PROP_UNIT_TIME" : 25165824,
- "PROP_UNIT_VELOCITY" : 29360128,
- "PROP_UNIT_ACCELERATION" : 33554432,
- }
- PropertySubType = {
- "PROP_NONE" : 0,
- "PROP_FILEPATH" : 1,
- "PROP_DIRPATH" : 2,
- "PROP_FILENAME" : 3,
- "PROP_UNSIGNED" : 19,
- "PROP_PERCENTAGE" : 20,
- "PROP_FACTOR" : 21,
- "PROP_ANGLE" : 20971542,
- "PROP_TIME" : 25165847,
- "PROP_DISTANCE" : 4194328,
- "PROP_COLOR" : 32,
- "PROP_TRANSLATION" : 4194337,
- "PROP_DIRECTION" : 34,
- "PROP_VELOCITY" : 29360163,
- "PROP_ACCELERATION" : 33554468,
- "PROP_MATRIX" : 37,
- "PROP_EULER" : 20971558,
- "PROP_QUATERNION" : 39,
- "PROP_AXISANGLE" : 40,
- "PROP_XYZ" : 41,
- "PROP_XYZ_LENGTH" : 4194345,
- "PROP_COLOR_GAMMA" : 48,
- "PROP_LAYER" : 64,
- "PROP_LAYER_MEMBER" : 65,
- }
- PropertyFlag = {
- "PROP_EDITABLE" : 1,
- "PROP_LIB_EXCEPTION" : 4194304,
- "PROP_ANIMATABLE" : 2,
- "PROP_ICONS_CONSECUTIVE" : 262144,
- "PROP_HIDDEN" : 33554432,
- "PROP_REQUIRED" : 4,
- "PROP_OUTPUT" : 8,
- "PROP_RNAPTR" : 131072,
- "PROP_REGISTER" : 16,
- "PROP_REGISTER_OPTIONAL" : 48,
- "PROP_ID_REFCOUNT" : 64,
- "PROP_ID_SELF_CHECK" : 4294967296,
- "PROP_NEVER_NULL" : 16777216,
- "PROP_ENUM_FLAG" : 8589934592,
- "PROP_CONTEXT_UPDATE" : 17179869184,
- "PROP_THICK_WRAP" : 34359738368,
- "PROP_BUILTIN" : 128,
- "PROP_EXPORT" : 256,
- "PROP_RUNTIME" : 512,
- "PROP_IDPROPERTY" : 65536,
- "PROP_RAW_ACCESS" : 524288,
- "PROP_RAW_ARRAY" : 1048576,
- "PROP_FREE_POINTERS" : 2097152,
- "PROP_DYNAMIC" : 8388608,
- "PROP_ENUM_NO_CONTEXT" : 16777216,
- }
- class CollectionPropertyIterator(ctypes.Structure): _fields_=[
- ( "parent", ctypes.c_void_p ),
- ( "builtin_parent", ctypes.c_void_p ),
- ( "prop", ctypes.c_void_p ),
- ( "internal", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "idprop", ctypes.c_int ),
- ( "level", ctypes.c_int ),
- ( "valid", ctypes.c_int ),
- ( "ptr", ctypes.c_void_p ),]
- class CollectionPointerLink(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "ptr", ctypes.c_void_p ),]
- RawPropertyType = {
- "PROP_RAW_UNSET" : 0,
- "PROP_RAW_INT" : 1,
- "PROP_RAW_SHORT" : 2,
- "PROP_RAW_CHAR" : 3,
- "PROP_RAW_DOUBLE" : 4,
- "PROP_RAW_FLOAT" : 5,
- }
- class RawArray(ctypes.Structure): _fields_=[
- ( "array", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "type", ctypes.c_void_p ),
- ( "len", ctypes.c_int ),
- ( "stride", ctypes.c_int ),]
- class EnumPropertyItem(ctypes.Structure): _fields_=[
- ( "value", ctypes.c_int ),
- ( "identifier", ctypes.c_char_p ),
- ( "icon", ctypes.c_int ),
- ( "name", ctypes.c_char_p ),
- ( "description", ctypes.c_char_p ),]
- EnumPropertyItemFunc = _c_external_function( "EnumPropertyItemFunc", [
- ("C", ctypes.c_void_p, 1),
- ("ptr", ctypes.c_void_p, 1),
- ("free", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- #class PropertyRNA(ctypes.Structure): pass # typedef or forward reference #
- class ParameterList(ctypes.Structure): _fields_=[
- ( "data", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "alloc_size", ctypes.c_int ),
- ( "arg_count", ctypes.c_int ),
- ( "ret_count", ctypes.c_int ),
- ( "func", ctypes.c_void_p ),]
- class ParameterIterator(ctypes.Structure): _fields_=[
- ( "parms", ctypes.c_void_p ),
- ( "funcptr", ctypes.c_void_p ),
- ( "data", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "size", ctypes.c_int ),
- ( "offset", ctypes.c_int ),
- ( "parm", ctypes.c_void_p ),
- ( "valid", ctypes.c_int ),]
- class ParameterDynAlloc(ctypes.Structure): _fields_=[
- ( "array_tot", ctypes.c_void_p ),
- ( "array", ctypes.POINTER( ctypes.c_void_p ) ),]
- FunctionFlag = {
- "FUNC_NO_SELF" : 1,
- "FUNC_USE_CONTEXT" : 2,
- "FUNC_USE_REPORTS" : 4,
- "FUNC_USE_SELF_ID" : 8264,
- "FUNC_REGISTER" : 8,
- "FUNC_REGISTER_OPTIONAL" : 30,
- "FUNC_BUILTIN" : 296,
- "FUNC_EXPORT" : 598,
- "FUNC_RUNTIME" : 1298,
- "FUNC_FREE_POINTERS" : 4132,
- }
- CallFunc = _c_external_function( "CallFunc", [
- ("C", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),
- ("ptr", ctypes.c_void_p, 1),
- ("parms", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class FunctionRNA(ctypes.Structure): pass # typedef or forward reference #
- StructFlag = {
- "STRUCT_ID" : 1,
- "STRUCT_ID_REFCOUNT" : 2,
- "STRUCT_RUNTIME" : 4,
- "STRUCT_GENERATED" : 8,
- "STRUCT_FREE_POINTERS" : 22,
- "STRUCT_NO_IDPROPERTIES" : 50,
- }
- StructValidateFunc = _c_external_function( "StructValidateFunc", [
- ("ptr", ctypes.c_void_p, 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("have_function", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_int )
- StructCallbackFunc = _c_external_function( "StructCallbackFunc", [
- ("ptr", ctypes.c_void_p, 1),
- ("func", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- StructFreeFunc = _c_external_function( "StructFreeFunc", [],
- ctypes.c_void_p )
- StructRegisterFunc = _c_external_function( "StructRegisterFunc", [
- ("C", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("identifier", ctypes.c_char_p, 1),
- ("validate", ctypes.c_void_p, 1),
- ("call", ctypes.c_void_p, 1),
- ("free", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- StructUnregisterFunc = _c_external_function( "StructUnregisterFunc", [
- ("C", ctypes.c_void_p, 1),
- ("type", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class StructRNA(ctypes.Structure): pass # typedef or forward reference #
- #class BlenderRNA(ctypes.Structure): pass # typedef or forward reference #
- class ExtensionRNA(ctypes.Structure): _fields_=[
- ( "data", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "srna", ctypes.c_void_p ),
- ( "call", ctypes.c_void_p ),
- ( "free", ctypes.c_void_p ),]
- #class ARegion(ctypes.Structure): pass # typedef or forward reference #
- #class bScreen(ctypes.Structure): pass # typedef or forward reference #
- #class EditMesh(ctypes.Structure): pass # typedef or forward reference #
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- #class PointerRNA(ctypes.Structure): pass # typedef or forward reference #
- #class ReportList(ctypes.Structure): pass # typedef or forward reference #
- #class Scene(ctypes.Structure): pass # typedef or forward reference #
- #class ScrArea(ctypes.Structure): pass # typedef or forward reference #
- #class SpaceLink(ctypes.Structure): pass # typedef or forward reference #
- #class View3D(ctypes.Structure): pass # typedef or forward reference #
- #class RegionView3D(ctypes.Structure): pass # typedef or forward reference #
- #class StructRNA(ctypes.Structure): pass # typedef or forward reference #
- #class ToolSettings(ctypes.Structure): pass # typedef or forward reference #
- #class Image(ctypes.Structure): pass # typedef or forward reference #
- #class Text(ctypes.Structure): pass # typedef or forward reference #
- #class ImBuf(ctypes.Structure): pass # typedef or forward reference #
- #class EditBone(ctypes.Structure): pass # typedef or forward reference #
- #class bPoseChannel(ctypes.Structure): pass # typedef or forward reference #
- #class wmWindow(ctypes.Structure): pass # typedef or forward reference #
- #class wmWindowManager(ctypes.Structure): pass # typedef or forward reference #
- #class SpaceText(ctypes.Structure): pass # typedef or forward reference #
- #class SpaceImage(ctypes.Structure): pass # typedef or forward reference #
- #class ID(ctypes.Structure): pass # typedef or forward reference #
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class bContextDataResult(ctypes.Structure): pass # typedef or forward reference #
- #class bContextDataResult(ctypes.Structure): pass # typedef or forward reference #
- bContextDataCallback = _c_external_function( "bContextDataCallback", [
- ("C", ctypes.c_void_p, 1),
- ("member", ctypes.c_char_p, 1),
- ("result", ctypes.c_void_p, 1),],
- ctypes.c_int )
- class bContextStoreEntry(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "name", ctypes.c_char ),
- ( "ptr", ctypes.c_void_p ),]
- class bContextStore(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "entries", ctypes.c_void_p ),
- ( "used", ctypes.c_int ),]
- #None <ast=Decl>
- CTX_create = _c_external_function( "CTX_create", [],
- ctypes.c_void_p )
- CTX_free = _c_external_function( "CTX_free", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_copy = _c_external_function( "CTX_copy", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_store_add = _c_external_function( "CTX_store_add", [
- ("contexts", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),
- ("ptr", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_store_set = _c_external_function( "CTX_store_set", [
- ("C", ctypes.c_void_p, 1),
- ("store", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_store_copy = _c_external_function( "CTX_store_copy", [
- ("store", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_store_free = _c_external_function( "CTX_store_free", [
- ("store", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_store_free_list = _c_external_function( "CTX_store_free_list", [
- ("contexts", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_py_init_get = _c_external_function( "CTX_py_init_get", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_py_init_set = _c_external_function( "CTX_py_init_set", [
- ("C", ctypes.c_void_p, 1),
- ("value", ctypes.c_int, 1),],
- ctypes.c_void_p )
- CTX_py_dict_get = _c_external_function( "CTX_py_dict_get", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_py_dict_set = _c_external_function( "CTX_py_dict_set", [
- ("C", ctypes.c_void_p, 1),
- ("value", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- CTX_wm_manager = _c_external_function( "CTX_wm_manager", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_window = _c_external_function( "CTX_wm_window", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_screen = _c_external_function( "CTX_wm_screen", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_area = _c_external_function( "CTX_wm_area", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_data = _c_external_function( "CTX_wm_space_data", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_region = _c_external_function( "CTX_wm_region", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_region_data = _c_external_function( "CTX_wm_region_data", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_menu = _c_external_function( "CTX_wm_menu", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_reports = _c_external_function( "CTX_wm_reports", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_view3d = _c_external_function( "CTX_wm_view3d", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_region_view3d = _c_external_function( "CTX_wm_region_view3d", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_text = _c_external_function( "CTX_wm_space_text", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_image = _c_external_function( "CTX_wm_space_image", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_console = _c_external_function( "CTX_wm_space_console", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_buts = _c_external_function( "CTX_wm_space_buts", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_file = _c_external_function( "CTX_wm_space_file", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_seq = _c_external_function( "CTX_wm_space_seq", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_outliner = _c_external_function( "CTX_wm_space_outliner", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_nla = _c_external_function( "CTX_wm_space_nla", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_time = _c_external_function( "CTX_wm_space_time", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_node = _c_external_function( "CTX_wm_space_node", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_logic = _c_external_function( "CTX_wm_space_logic", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_graph = _c_external_function( "CTX_wm_space_graph", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_action = _c_external_function( "CTX_wm_space_action", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_info = _c_external_function( "CTX_wm_space_info", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_space_userpref = _c_external_function( "CTX_wm_space_userpref", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_manager_set = _c_external_function( "CTX_wm_manager_set", [
- ("C", ctypes.c_void_p, 1),
- ("wm", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_window_set = _c_external_function( "CTX_wm_window_set", [
- ("C", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_screen_set = _c_external_function( "CTX_wm_screen_set", [
- ("C", ctypes.c_void_p, 1),
- ("screen", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_area_set = _c_external_function( "CTX_wm_area_set", [
- ("C", ctypes.c_void_p, 1),
- ("sa", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_region_set = _c_external_function( "CTX_wm_region_set", [
- ("C", ctypes.c_void_p, 1),
- ("region", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_wm_menu_set = _c_external_function( "CTX_wm_menu_set", [
- ("C", ctypes.c_void_p, 1),
- ("menu", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #None <ast=Decl>
- CTX_data_pointer_get = _c_external_function( "CTX_data_pointer_get", [
- ("C", ctypes.c_void_p, 1),
- ("member", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- CTX_data_pointer_get_type = _c_external_function( "CTX_data_pointer_get_type", [
- ("C", ctypes.c_void_p, 1),
- ("member", ctypes.c_char_p, 1),
- ("type", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_collection_get = _c_external_function( "CTX_data_collection_get", [
- ("C", ctypes.c_void_p, 1),
- ("member", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- CTX_data_dir_get = _c_external_function( "CTX_data_dir_get", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_get = _c_external_function( "CTX_data_get", [
- ("C", ctypes.c_void_p, 1),
- ("member", ctypes.c_char_p, 1),
- ("r_ptr", ctypes.c_void_p, 1),
- ("r_lb", ctypes.c_void_p, 1),
- ("r_type", ctypes.POINTER( ctypes.c_short ), 1),],
- ctypes.c_int )
- CTX_data_id_pointer_set = _c_external_function( "CTX_data_id_pointer_set", [
- ("result", ctypes.c_void_p, 1),
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_pointer_set = _c_external_function( "CTX_data_pointer_set", [
- ("result", ctypes.c_void_p, 1),
- ("id", ctypes.c_void_p, 1),
- ("type", ctypes.c_void_p, 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- CTX_data_id_list_add = _c_external_function( "CTX_data_id_list_add", [
- ("result", ctypes.c_void_p, 1),
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_list_add = _c_external_function( "CTX_data_list_add", [
- ("result", ctypes.c_void_p, 1),
- ("id", ctypes.c_void_p, 1),
- ("type", ctypes.c_void_p, 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- CTX_data_dir_set = _c_external_function( "CTX_data_dir_set", [
- ("result", ctypes.c_void_p, 1),
- ("member", ctypes.POINTER( ctypes.c_char_p ), 1),],
- ctypes.c_void_p )
- CTX_data_type_set = _c_external_function( "CTX_data_type_set", [
- ("result", ctypes.c_void_p, 1),
- ("type", ctypes.c_short, 1),],
- ctypes.c_void_p )
- CTX_data_type_get = _c_external_function( "CTX_data_type_get", [
- ("result", ctypes.c_void_p, 1),],
- ctypes.c_short )
- CTX_data_equals = _c_external_function( "CTX_data_equals", [
- ("member", ctypes.c_char_p, 1),
- ("str", ctypes.c_char_p, 1),],
- ctypes.c_int )
- CTX_data_dir = _c_external_function( "CTX_data_dir", [
- ("member", ctypes.c_char_p, 1),],
- ctypes.c_int )
- ctx_data_list_count = _c_external_function( "ctx_data_list_count", [
- ("C", ctypes.c_void_p, 1),
- ("func", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_main = _c_external_function( "CTX_data_main", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_scene = _c_external_function( "CTX_data_scene", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_tool_settings = _c_external_function( "CTX_data_tool_settings", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_mode_string = _c_external_function( "CTX_data_mode_string", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_char )
- CTX_data_mode_enum = _c_external_function( "CTX_data_mode_enum", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_main_set = _c_external_function( "CTX_data_main_set", [
- ("C", ctypes.c_void_p, 1),
- ("bmain", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_scene_set = _c_external_function( "CTX_data_scene_set", [
- ("C", ctypes.c_void_p, 1),
- ("bmain", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_selected_editable_objects = _c_external_function( "CTX_data_selected_editable_objects", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_selected_editable_bases = _c_external_function( "CTX_data_selected_editable_bases", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_selected_objects = _c_external_function( "CTX_data_selected_objects", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_selected_bases = _c_external_function( "CTX_data_selected_bases", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_visible_objects = _c_external_function( "CTX_data_visible_objects", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_visible_bases = _c_external_function( "CTX_data_visible_bases", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_selectable_objects = _c_external_function( "CTX_data_selectable_objects", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_selectable_bases = _c_external_function( "CTX_data_selectable_bases", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_active_object = _c_external_function( "CTX_data_active_object", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_active_base = _c_external_function( "CTX_data_active_base", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_edit_object = _c_external_function( "CTX_data_edit_object", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_edit_image = _c_external_function( "CTX_data_edit_image", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_edit_text = _c_external_function( "CTX_data_edit_text", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_selected_nodes = _c_external_function( "CTX_data_selected_nodes", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_active_bone = _c_external_function( "CTX_data_active_bone", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_selected_bones = _c_external_function( "CTX_data_selected_bones", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_selected_editable_bones = _c_external_function( "CTX_data_selected_editable_bones", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_visible_bones = _c_external_function( "CTX_data_visible_bones", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_editable_bones = _c_external_function( "CTX_data_editable_bones", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_active_pose_bone = _c_external_function( "CTX_data_active_pose_bone", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- CTX_data_selected_pose_bones = _c_external_function( "CTX_data_selected_pose_bones", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- CTX_data_visible_pose_bones = _c_external_function( "CTX_data_visible_pose_bones", [
- ("C", ctypes.c_void_p, 1),
- ("list", ctypes.c_void_p, 1),],
- ctypes.c_int )
- #class VFont(ctypes.Structure): pass # typedef or forward reference #
- #class Scene(ctypes.Structure): pass # typedef or forward reference #
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- #class Curve(ctypes.Structure): pass # typedef or forward reference #
- #class objfnt(ctypes.Structure): pass # typedef or forward reference #
- #class TmpFont(ctypes.Structure): pass # typedef or forward reference #
- #class CharInfo(ctypes.Structure): pass # typedef or forward reference #
- class chartrans(ctypes.Structure): _fields_=[
- ( "xof", ctypes.c_float ),
- ( "yof", ctypes.c_float ),
- ( "rot", ctypes.c_float ),
- ( "linenr", ctypes.c_short ),
- ( "charnr", ctypes.c_short ),
- ( "dobreak", ctypes.c_char ),]
- class SelBox(ctypes.Structure): _fields_=[
- ( "x", ctypes.c_float ),
- ( "y", ctypes.c_float ),
- ( "w", ctypes.c_float ),
- ( "h", ctypes.c_float ),]
- class EditFont(ctypes.Structure): _fields_=[
- ( "copybuf", ctypes.c_void_p ),
- ( "copybufinfo", ctypes.c_void_p ),
- ( "textbuf", ctypes.c_void_p ),
- ( "textbufinfo", ctypes.c_void_p ),
- ( "oldstr", ctypes.c_void_p ),
- ( "oldstrinfo", ctypes.c_void_p ),
- ( "textcurs", ctypes.c_float ),]
- BKE_font_register_builtin = _c_external_function( "BKE_font_register_builtin", [
- ("mem", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("size", ctypes.c_int, 1),],
- ctypes.c_void_p )
- free_vfont = _c_external_function( "free_vfont", [
- ("sc", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- free_ttfont = _c_external_function( "free_ttfont", [],
- ctypes.c_void_p )
- get_builtin_font = _c_external_function( "get_builtin_font", [],
- ctypes.c_void_p )
- load_vfont = _c_external_function( "load_vfont", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- vfont_find_tmpfont = _c_external_function( "vfont_find_tmpfont", [
- ("vfont", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BKE_text_to_curve = _c_external_function( "BKE_text_to_curve", [
- ("scene", ctypes.c_void_p, 1),
- ("ob", ctypes.c_void_p, 1),
- ("mode", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BKE_font_getselection = _c_external_function( "BKE_font_getselection", [
- ("ob", ctypes.c_void_p, 1),
- ("start", ctypes.POINTER( ctypes.c_int ), 1),
- ("end", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_int )
- chtoutf8 = _c_external_function( "chtoutf8", [
- ("c", ctypes.c_long, 1),
- ("o", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- wcs2utf8s = _c_external_function( "wcs2utf8s", [
- ("dst", ctypes.c_char_p, 1),
- ("src", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wcsleninu8 = _c_external_function( "wcsleninu8", [
- ("src", ctypes.c_void_p, 1),],
- ctypes.c_int )
- utf8towchar = _c_external_function( "utf8towchar", [
- ("w", ctypes.c_void_p, 1),
- ("c", ctypes.c_char_p, 1),],
- ctypes.c_int )
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- #class BME_Glob(ctypes.Structure): pass # typedef or forward reference #
- class Global(ctypes.Structure): _fields_=[
- ( "main", ctypes.c_void_p ),
- ( "ima", ctypes.c_char ),
- ( "sce", ctypes.c_char ),
- ( "lib", ctypes.c_char ),
- ( "relbase_valid", ctypes.c_int ),
- ( "recent_files", ctypes.c_void_p ),
- ( "afbreek", ctypes.c_short ),
- ( "moving", ctypes.c_short ),
- ( "file_loaded", ctypes.c_short ),
- ( "background", ctypes.c_short ),
- ( "winpos", ctypes.c_short ),
- ( "displaymode", ctypes.c_short ),
- ( "rendering", ctypes.c_short ),
- ( "rt", ctypes.c_short ),
- ( "f", ctypes.c_int ),
- ( "editBMesh", ctypes.c_void_p ),
- ( "save_over", ctypes.c_int ),
- ( "have_quicktime", ctypes.c_int ),
- ( "ui_international", ctypes.c_int ),
- ( "charstart", ctypes.c_int ),
- ( "charmin", ctypes.c_int ),
- ( "charmax", ctypes.c_int ),
- ( "selfont", ctypes.c_void_p ),
- ( "ttfdata", ctypes.c_void_p ),
- ( "fileflags", ctypes.c_int ),
- ( "windowstate", ctypes.c_int ),
- ( "ndofdevice", ctypes.c_int ),
- ( "flags", ctypes.c_int ),]
- #ENDIAN_ORDER <TypeDecl=short>
- #G <TypeDecl=Global>
- #class Library(ctypes.Structure): pass # typedef or forward reference #
- class Main(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "name", ctypes.c_char ),
- ( "versionfile", ctypes.c_short ),
- ( "subversionfile", ctypes.c_short ),
- ( "minversionfile", ctypes.c_short ),
- ( "minsubversionfile", ctypes.c_short ),
- ( "curlib", ctypes.c_void_p ),
- ( "scene", ctypes.c_void_p ),
- ( "library", ctypes.c_void_p ),
- ( "object", ctypes.c_void_p ),
- ( "mesh", ctypes.c_void_p ),
- ( "curve", ctypes.c_void_p ),
- ( "mball", ctypes.c_void_p ),
- ( "mat", ctypes.c_void_p ),
- ( "tex", ctypes.c_void_p ),
- ( "image", ctypes.c_void_p ),
- ( "latt", ctypes.c_void_p ),
- ( "lamp", ctypes.c_void_p ),
- ( "camera", ctypes.c_void_p ),
- ( "ipo", ctypes.c_void_p ),
- ( "key", ctypes.c_void_p ),
- ( "world", ctypes.c_void_p ),
- ( "screen", ctypes.c_void_p ),
- ( "script", ctypes.c_void_p ),
- ( "vfont", ctypes.c_void_p ),
- ( "text", ctypes.c_void_p ),
- ( "sound", ctypes.c_void_p ),
- ( "group", ctypes.c_void_p ),
- ( "armature", ctypes.c_void_p ),
- ( "action", ctypes.c_void_p ),
- ( "nodetree", ctypes.c_void_p ),
- ( "brush", ctypes.c_void_p ),
- ( "particle", ctypes.c_void_p ),
- ( "wm", ctypes.c_void_p ),
- ( "gpencil", ctypes.c_void_p ),]
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- #class Material(ctypes.Structure): pass # typedef or forward reference #
- #class ID(ctypes.Structure): pass # typedef or forward reference #
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- init_def_material = _c_external_function( "init_def_material", [],
- ctypes.c_void_p )
- free_material = _c_external_function( "free_material", [
- ("sc", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- test_object_materials = _c_external_function( "test_object_materials", [
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- init_material = _c_external_function( "init_material", [
- ("ma", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- add_material = _c_external_function( "add_material", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- copy_material = _c_external_function( "copy_material", [
- ("ma", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- give_node_material = _c_external_function( "give_node_material", [
- ("ma", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- make_local_material = _c_external_function( "make_local_material", [
- ("ma", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- automatname = _c_external_function( "automatname", [
- ("Material", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- give_matarar = _c_external_function( "give_matarar", [
- ("ob", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- give_totcolp = _c_external_function( "give_totcolp", [
- ("ob", ctypes.c_void_p, 1),],
- ctypes.c_short )
- give_matarar_id = _c_external_function( "give_matarar_id", [
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- give_totcolp_id = _c_external_function( "give_totcolp_id", [
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_short )
- give_current_material = _c_external_function( "give_current_material", [
- ("ob", ctypes.c_void_p, 1),
- ("act", ctypes.c_int, 1),],
- ctypes.c_void_p )
- material_from = _c_external_function( "material_from", [
- ("ob", ctypes.c_void_p, 1),
- ("act", ctypes.c_int, 1),],
- ctypes.c_void_p )
- assign_material = _c_external_function( "assign_material", [
- ("ob", ctypes.c_void_p, 1),
- ("ma", ctypes.c_void_p, 1),
- ("act", ctypes.c_int, 1),],
- ctypes.c_void_p )
- assign_matarar = _c_external_function( "assign_matarar", [
- ("ob", ctypes.c_void_p, 1),
- ("matar", ctypes.c_void_p, 1),
- ("totcol", ctypes.c_int, 1),],
- ctypes.c_void_p )
- find_material_index = _c_external_function( "find_material_index", [
- ("ob", ctypes.c_void_p, 1),
- ("ma", ctypes.c_void_p, 1),],
- ctypes.c_int )
- object_add_material_slot = _c_external_function( "object_add_material_slot", [
- ("ob", ctypes.c_void_p, 1),],
- ctypes.c_int )
- object_remove_material_slot = _c_external_function( "object_remove_material_slot", [
- ("ob", ctypes.c_void_p, 1),],
- ctypes.c_int )
- material_append_id = _c_external_function( "material_append_id", [
- ("id", ctypes.c_void_p, 1),
- ("ma", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- material_pop_id = _c_external_function( "material_pop_id", [
- ("id", ctypes.c_void_p, 1),
- ("index", ctypes.c_int, 1),],
- ctypes.c_void_p )
- init_render_material = _c_external_function( "init_render_material", [
- ("Material", ctypes.c_void_p, 1),
- ("None", ctypes.c_int, 1),
- ("None", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- init_render_materials = _c_external_function( "init_render_materials", [
- ("Main", ctypes.c_void_p, 1),
- ("None", ctypes.c_int, 1),
- ("None", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- end_render_material = _c_external_function( "end_render_material", [
- ("Material", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- end_render_materials = _c_external_function( "end_render_materials", [
- ("Main", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- material_in_material = _c_external_function( "material_in_material", [
- ("parmat", ctypes.c_void_p, 1),
- ("mat", ctypes.c_void_p, 1),],
- ctypes.c_int )
- ramp_blend = _c_external_function( "ramp_blend", [
- ("type", ctypes.c_int, 1),
- ("r", ctypes.POINTER( ctypes.c_float ), 1),
- ("g", ctypes.POINTER( ctypes.c_float ), 1),
- ("b", ctypes.POINTER( ctypes.c_float ), 1),
- ("fac", ctypes.c_float, 1),
- ("col", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- clear_matcopybuf = _c_external_function( "clear_matcopybuf", [],
- ctypes.c_void_p )
- free_matcopybuf = _c_external_function( "free_matcopybuf", [],
- ctypes.c_void_p )
- copy_matcopybuf = _c_external_function( "copy_matcopybuf", [
- ("ma", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- paste_matcopybuf = _c_external_function( "paste_matcopybuf", [
- ("ma", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- clear_mat_mtex_copybuf = _c_external_function( "clear_mat_mtex_copybuf", [],
- ctypes.c_void_p )
- copy_mat_mtex_copybuf = _c_external_function( "copy_mat_mtex_copybuf", [
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- paste_mat_mtex_copybuf = _c_external_function( "paste_mat_mtex_copybuf", [
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class bSound(ctypes.Structure): pass # typedef or forward reference #
- #class Image(ctypes.Structure): pass # typedef or forward reference #
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- #class PackedFile(ctypes.Structure): pass # typedef or forward reference #
- #class ReportList(ctypes.Structure): pass # typedef or forward reference #
- #class VFont(ctypes.Structure): pass # typedef or forward reference #
- newPackedFile = _c_external_function( "newPackedFile", [
- ("reports", ctypes.c_void_p, 1),
- ("filename", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- newPackedFileMemory = _c_external_function( "newPackedFileMemory", [
- ("mem", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("memlen", ctypes.c_int, 1),],
- ctypes.c_void_p )
- packAll = _c_external_function( "packAll", [
- ("bmain", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- unpackFile = _c_external_function( "unpackFile", [
- ("reports", ctypes.c_void_p, 1),
- ("abs_name", ctypes.c_char_p, 1),
- ("local_name", ctypes.c_char_p, 1),
- ("pf", ctypes.c_void_p, 1),
- ("how", ctypes.c_int, 1),],
- ctypes.c_char )
- unpackVFont = _c_external_function( "unpackVFont", [
- ("reports", ctypes.c_void_p, 1),
- ("vfont", ctypes.c_void_p, 1),
- ("how", ctypes.c_int, 1),],
- ctypes.c_int )
- unpackSound = _c_external_function( "unpackSound", [
- ("reports", ctypes.c_void_p, 1),
- ("sound", ctypes.c_void_p, 1),
- ("how", ctypes.c_int, 1),],
- ctypes.c_int )
- unpackImage = _c_external_function( "unpackImage", [
- ("reports", ctypes.c_void_p, 1),
- ("ima", ctypes.c_void_p, 1),
- ("how", ctypes.c_int, 1),],
- ctypes.c_int )
- unpackAll = _c_external_function( "unpackAll", [
- ("bmain", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),
- ("how", ctypes.c_int, 1),],
- ctypes.c_void_p )
- writePackedFile = _c_external_function( "writePackedFile", [
- ("reports", ctypes.c_void_p, 1),
- ("filename", ctypes.c_char_p, 1),
- ("pf", ctypes.c_void_p, 1),
- ("guimode", ctypes.c_int, 1),],
- ctypes.c_int )
- freePackedFile = _c_external_function( "freePackedFile", [
- ("pf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- countPackedFiles = _c_external_function( "countPackedFiles", [
- ("bmain", ctypes.c_void_p, 1),],
- ctypes.c_int )
- checkPackedFile = _c_external_function( "checkPackedFile", [
- ("filename", ctypes.c_char_p, 1),
- ("pf", ctypes.c_void_p, 1),],
- ctypes.c_int )
- seekPackedFile = _c_external_function( "seekPackedFile", [
- ("pf", ctypes.c_void_p, 1),
- ("offset", ctypes.c_int, 1),
- ("whence", ctypes.c_int, 1),],
- ctypes.c_int )
- rewindPackedFile = _c_external_function( "rewindPackedFile", [
- ("pf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- readPackedFile = _c_external_function( "readPackedFile", [
- ("pf", ctypes.c_void_p, 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("size", ctypes.c_int, 1),],
- ctypes.c_int )
- #class AviCodecData(ctypes.Structure): pass # typedef or forward reference #
- #class Base(ctypes.Structure): pass # typedef or forward reference #
- #class bglMats(ctypes.Structure): pass # typedef or forward reference #
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- #class QuicktimeCodecData(ctypes.Structure): pass # typedef or forward reference #
- #class RenderData(ctypes.Structure): pass # typedef or forward reference #
- #class Scene(ctypes.Structure): pass # typedef or forward reference #
- #class Text(ctypes.Structure): pass # typedef or forward reference #
- #class Text(ctypes.Structure): pass # typedef or forward reference #
- _setlooper_base_step = _c_external_function( "_setlooper_base_step", [
- ("sce", ctypes.c_void_p, 1),
- ("base", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- free_avicodecdata = _c_external_function( "free_avicodecdata", [
- ("acd", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- free_qtcodecdata = _c_external_function( "free_qtcodecdata", [
- ("acd", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- free_scene = _c_external_function( "free_scene", [
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- add_scene = _c_external_function( "add_scene", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- object_in_scene = _c_external_function( "object_in_scene", [
- ("ob", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- set_scene_bg = _c_external_function( "set_scene_bg", [
- ("bmain", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- set_scene_name = _c_external_function( "set_scene_name", [
- ("bmain", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- copy_scene = _c_external_function( "copy_scene", [
- ("bmain", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),
- ("type", ctypes.c_int, 1),],
- ctypes.c_void_p )
- unlink_scene = _c_external_function( "unlink_scene", [
- ("bmain", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),
- ("newsce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- next_object = _c_external_function( "next_object", [
- ("scene", ctypes.c_void_p, 1),
- ("val", ctypes.c_int, 1),
- ("base", ctypes.c_void_p, 1),
- ("ob", ctypes.c_void_p, 1),],
- ctypes.c_int )
- scene_find_camera = _c_external_function( "scene_find_camera", [
- ("sc", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- scene_camera_switch_find = _c_external_function( "scene_camera_switch_find", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- scene_camera_switch_update = _c_external_function( "scene_camera_switch_update", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_int )
- scene_find_marker_name = _c_external_function( "scene_find_marker_name", [
- ("scene", ctypes.c_void_p, 1),
- ("frame", ctypes.c_int, 1),],
- ctypes.c_char )
- scene_find_last_marker_name = _c_external_function( "scene_find_last_marker_name", [
- ("scene", ctypes.c_void_p, 1),
- ("frame", ctypes.c_int, 1),],
- ctypes.c_char )
- scene_marker_tfm_translate = _c_external_function( "scene_marker_tfm_translate", [
- ("scene", ctypes.c_void_p, 1),
- ("delta", ctypes.c_int, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_int )
- scene_marker_tfm_extend = _c_external_function( "scene_marker_tfm_extend", [
- ("scene", ctypes.c_void_p, 1),
- ("delta", ctypes.c_int, 1),
- ("flag", ctypes.c_int, 1),
- ("frame", ctypes.c_int, 1),
- ("side", ctypes.c_char, 1),],
- ctypes.c_int )
- scene_add_base = _c_external_function( "scene_add_base", [
- ("sce", ctypes.c_void_p, 1),
- ("ob", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- scene_deselect_all = _c_external_function( "scene_deselect_all", [
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- scene_select_base = _c_external_function( "scene_select_base", [
- ("sce", ctypes.c_void_p, 1),
- ("selbase", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- scene_check_setscene = _c_external_function( "scene_check_setscene", [
- ("bmain", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BKE_curframe = _c_external_function( "BKE_curframe", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_float )
- scene_update_tagged = _c_external_function( "scene_update_tagged", [
- ("bmain", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- scene_update_for_newframe = _c_external_function( "scene_update_for_newframe", [
- ("bmain", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),
- ("lay", ctypes.c_int, 1),],
- ctypes.c_void_p )
- scene_add_render_layer = _c_external_function( "scene_add_render_layer", [
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- get_render_subsurf_level = _c_external_function( "get_render_subsurf_level", [
- ("r", ctypes.c_void_p, 1),
- ("level", ctypes.c_int, 1),],
- ctypes.c_int )
- get_render_child_particle_number = _c_external_function( "get_render_child_particle_number", [
- ("r", ctypes.c_void_p, 1),
- ("num", ctypes.c_int, 1),],
- ctypes.c_int )
- get_render_shadow_samples = _c_external_function( "get_render_shadow_samples", [
- ("r", ctypes.c_void_p, 1),
- ("samples", ctypes.c_int, 1),],
- ctypes.c_int )
- get_render_aosss_error = _c_external_function( "get_render_aosss_error", [
- ("r", ctypes.c_void_p, 1),
- ("error", ctypes.c_float, 1),],
- ctypes.c_float )
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class bNode(ctypes.Structure): pass # typedef or forward reference #
- #class bNodeLink(ctypes.Structure): pass # typedef or forward reference #
- #class bNodeSocket(ctypes.Structure): pass # typedef or forward reference #
- #class bNodeStack(ctypes.Structure): pass # typedef or forward reference #
- #class bNodeTree(ctypes.Structure): pass # typedef or forward reference #
- #class GPUMaterial(ctypes.Structure): pass # typedef or forward reference #
- #class GPUNode(ctypes.Structure): pass # typedef or forward reference #
- #class GPUNodeStack(ctypes.Structure): pass # typedef or forward reference #
- #class ID(ctypes.Structure): pass # typedef or forward reference #
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- #class MTex(ctypes.Structure): pass # typedef or forward reference #
- #class PointerRNA(ctypes.Structure): pass # typedef or forward reference #
- #class rctf(ctypes.Structure): pass # typedef or forward reference #
- #class RenderData(ctypes.Structure): pass # typedef or forward reference #
- #class Scene(ctypes.Structure): pass # typedef or forward reference #
- #class Tex(ctypes.Structure): pass # typedef or forward reference #
- #class uiLayout(ctypes.Structure): pass # typedef or forward reference #
- class bNodeSocketType(ctypes.Structure): _fields_=[
- ( "type", ctypes.c_int ),
- ( "limit", ctypes.c_int ),
- ( "name", ctypes.c_char_p ),
- ( "val1", ctypes.c_float ),
- ( "val2", ctypes.c_float ),
- ( "val3", ctypes.c_float ),
- ( "val4", ctypes.c_float ),
- ( "min", ctypes.c_float ),
- ( "max", ctypes.c_float ),
- ( "sock", ctypes.c_void_p ),
- ( "internsock", ctypes.c_void_p ),
- ( "own_index", ctypes.c_int ),]
- class bNodeType(ctypes.Structure): _fields_=[
- ( "next", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "prev", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "type", ctypes.c_int ),
- ( "name", ctypes.c_char_p ),
- ( "width", ctypes.c_float ),
- ( "minwidth", ctypes.c_float ),
- ( "maxwidth", ctypes.c_float ),
- ( "nclass", ctypes.c_short ),
- ( "flag", ctypes.c_short ),
- ( "inputs", ctypes.c_void_p ),
- ( "outputs", ctypes.c_void_p ),
- ( "storagename", ctypes.c_char ),
- ( "execfunc", ctypes.c_void_p ),
- ( "uifunc", ctypes.c_void_p ),
- ( "initfunc", ctypes.c_void_p ),
- ( "freestoragefunc", ctypes.c_void_p ),
- ( "copystoragefunc", ctypes.c_void_p ),
- ( "id", ctypes.c_void_p ),
- ( "pynode", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "pydict", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "gpufunc", ctypes.c_void_p ),]
- ntreeVerifyTypes = _c_external_function( "ntreeVerifyTypes", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeAddTree = _c_external_function( "ntreeAddTree", [
- ("type", ctypes.c_int, 1),],
- ctypes.c_void_p )
- ntreeInitTypes = _c_external_function( "ntreeInitTypes", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeMakeOwnType = _c_external_function( "ntreeMakeOwnType", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeUpdateType = _c_external_function( "ntreeUpdateType", [
- ("ntree", ctypes.c_void_p, 1),
- ("ntype", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeFreeTree = _c_external_function( "ntreeFreeTree", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeCopyTree = _c_external_function( "ntreeCopyTree", [
- ("ntree", ctypes.c_void_p, 1),
- ("internal_select", ctypes.c_int, 1),],
- ctypes.c_void_p )
- ntreeSwitchID = _c_external_function( "ntreeSwitchID", [
- ("ntree", ctypes.c_void_p, 1),
- ("sce_from", ctypes.c_void_p, 1),
- ("sce_to", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeMakeLocal = _c_external_function( "ntreeMakeLocal", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeSocketUseFlags = _c_external_function( "ntreeSocketUseFlags", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeSolveOrder = _c_external_function( "ntreeSolveOrder", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeBeginExecTree = _c_external_function( "ntreeBeginExecTree", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeExecTree = _c_external_function( "ntreeExecTree", [
- ("ntree", ctypes.c_void_p, 1),
- ("callerdata", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("thread", ctypes.c_int, 1),],
- ctypes.c_void_p )
- ntreeCompositExecTree = _c_external_function( "ntreeCompositExecTree", [
- ("ntree", ctypes.c_void_p, 1),
- ("rd", ctypes.c_void_p, 1),
- ("do_previews", ctypes.c_int, 1),],
- ctypes.c_void_p )
- ntreeEndExecTree = _c_external_function( "ntreeEndExecTree", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeInitPreview = _c_external_function( "ntreeInitPreview", [
- ("bNodeTree", ctypes.c_void_p, 1),
- ("xsize", ctypes.c_int, 1),
- ("ysize", ctypes.c_int, 1),],
- ctypes.c_void_p )
- ntreeClearPreview = _c_external_function( "ntreeClearPreview", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeFreeCache = _c_external_function( "ntreeFreeCache", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeLocalize = _c_external_function( "ntreeLocalize", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeLocalSync = _c_external_function( "ntreeLocalSync", [
- ("localtree", ctypes.c_void_p, 1),
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeLocalMerge = _c_external_function( "ntreeLocalMerge", [
- ("localtree", ctypes.c_void_p, 1),
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeVerifyType = _c_external_function( "nodeVerifyType", [
- ("ntree", ctypes.c_void_p, 1),
- ("node", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeAddToPreview = _c_external_function( "nodeAddToPreview", [
- ("bNode", ctypes.c_void_p, 1),
- ("None", ctypes.POINTER( ctypes.c_float ), 1),
- ("None", ctypes.c_int, 1),
- ("None", ctypes.c_int, 1),],
- ctypes.c_void_p )
- nodeUnlinkNode = _c_external_function( "nodeUnlinkNode", [
- ("ntree", ctypes.c_void_p, 1),
- ("node", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeUniqueName = _c_external_function( "nodeUniqueName", [
- ("ntree", ctypes.c_void_p, 1),
- ("node", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeAddSockets = _c_external_function( "nodeAddSockets", [
- ("node", ctypes.c_void_p, 1),
- ("ntype", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeAddNodeType = _c_external_function( "nodeAddNodeType", [
- ("ntree", ctypes.c_void_p, 1),
- ("type", ctypes.c_int, 1),
- ("ngroup", ctypes.c_void_p, 1),
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeRegisterType = _c_external_function( "nodeRegisterType", [
- ("typelist", ctypes.c_void_p, 1),
- ("ntype", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeUpdateType = _c_external_function( "nodeUpdateType", [
- ("ntree", ctypes.c_void_p, 1),
- ("node", ctypes.c_void_p, 1),
- ("ntype", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeMakeDynamicType = _c_external_function( "nodeMakeDynamicType", [
- ("node", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeDynamicUnlinkText = _c_external_function( "nodeDynamicUnlinkText", [
- ("txtid", ctypes.c_void_p, 1),],
- ctypes.c_int )
- nodeFreeNode = _c_external_function( "nodeFreeNode", [
- ("ntree", ctypes.c_void_p, 1),
- ("node", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeCopyNode = _c_external_function( "nodeCopyNode", [
- ("ntree", ctypes.c_void_p, 1),
- ("node", ctypes.c_void_p, 1),
- ("internal", ctypes.c_int, 1),],
- ctypes.c_void_p )
- nodeAddLink = _c_external_function( "nodeAddLink", [
- ("ntree", ctypes.c_void_p, 1),
- ("fromnode", ctypes.c_void_p, 1),
- ("fromsock", ctypes.c_void_p, 1),
- ("tonode", ctypes.c_void_p, 1),
- ("tosock", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeRemLink = _c_external_function( "nodeRemLink", [
- ("ntree", ctypes.c_void_p, 1),
- ("link", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeRemSocketLinks = _c_external_function( "nodeRemSocketLinks", [
- ("ntree", ctypes.c_void_p, 1),
- ("sock", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeFindNodebyName = _c_external_function( "nodeFindNodebyName", [
- ("ntree", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- nodeFindNode = _c_external_function( "nodeFindNode", [
- ("ntree", ctypes.c_void_p, 1),
- ("sock", ctypes.c_void_p, 1),
- ("nodep", ctypes.c_void_p, 1),
- ("sockindex", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_int )
- nodeFindLink = _c_external_function( "nodeFindLink", [
- ("ntree", ctypes.c_void_p, 1),
- ("from", ctypes.c_void_p, 1),
- ("to", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeCountSocketLinks = _c_external_function( "nodeCountSocketLinks", [
- ("ntree", ctypes.c_void_p, 1),
- ("sock", ctypes.c_void_p, 1),],
- ctypes.c_int )
- nodeSetActive = _c_external_function( "nodeSetActive", [
- ("ntree", ctypes.c_void_p, 1),
- ("node", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeGetActive = _c_external_function( "nodeGetActive", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeGetActiveID = _c_external_function( "nodeGetActiveID", [
- ("ntree", ctypes.c_void_p, 1),
- ("idtype", ctypes.c_short, 1),],
- ctypes.c_void_p )
- nodeSetActiveID = _c_external_function( "nodeSetActiveID", [
- ("ntree", ctypes.c_void_p, 1),
- ("idtype", ctypes.c_short, 1),
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_int )
- nodeClearActiveID = _c_external_function( "nodeClearActiveID", [
- ("ntree", ctypes.c_void_p, 1),
- ("idtype", ctypes.c_short, 1),],
- ctypes.c_void_p )
- NodeTagChanged = _c_external_function( "NodeTagChanged", [
- ("ntree", ctypes.c_void_p, 1),
- ("node", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- NodeTagIDChanged = _c_external_function( "NodeTagIDChanged", [
- ("ntree", ctypes.c_void_p, 1),
- ("id", ctypes.c_void_p, 1),],
- ctypes.c_int )
- nodeMakeGroupFromSelected = _c_external_function( "nodeMakeGroupFromSelected", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeGroupUnGroup = _c_external_function( "nodeGroupUnGroup", [
- ("ntree", ctypes.c_void_p, 1),
- ("gnode", ctypes.c_void_p, 1),],
- ctypes.c_int )
- nodeVerifyGroup = _c_external_function( "nodeVerifyGroup", [
- ("ngroup", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeGroupSocketUseFlags = _c_external_function( "nodeGroupSocketUseFlags", [
- ("ngroup", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- nodeCopyGroup = _c_external_function( "nodeCopyGroup", [
- ("gnode", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #node_group_typeinfo <TypeDecl=bNodeType>
- #class ShadeInput(ctypes.Structure): pass # typedef or forward reference #
- #class ShadeResult(ctypes.Structure): pass # typedef or forward reference #
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- ntreeShaderExecTree = _c_external_function( "ntreeShaderExecTree", [
- ("ntree", ctypes.c_void_p, 1),
- ("shi", ctypes.c_void_p, 1),
- ("shr", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeShaderGetTexcoMode = _c_external_function( "ntreeShaderGetTexcoMode", [
- ("ntree", ctypes.c_void_p, 1),
- ("osa", ctypes.c_int, 1),
- ("texco", ctypes.POINTER( ctypes.c_short ), 1),
- ("mode", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- nodeShaderSynchronizeID = _c_external_function( "nodeShaderSynchronizeID", [
- ("node", ctypes.c_void_p, 1),
- ("copyto", ctypes.c_int, 1),],
- ctypes.c_void_p )
- node_shader_lamp_loop = _c_external_function( "node_shader_lamp_loop", [
- ("ShadeInput", ctypes.c_void_p, 1),
- ("ShadeResult", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- set_node_shader_lamp_loop = _c_external_function( "set_node_shader_lamp_loop", [
- ("lamp_loop_func", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeGPUMaterialNodes = _c_external_function( "ntreeGPUMaterialNodes", [
- ("ntree", ctypes.c_void_p, 1),
- ("mat", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class CompBuf(ctypes.Structure): pass # typedef or forward reference #
- ntreeCompositTagRender = _c_external_function( "ntreeCompositTagRender", [
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeCompositTagAnimated = _c_external_function( "ntreeCompositTagAnimated", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_int )
- ntreeCompositTagGenerators = _c_external_function( "ntreeCompositTagGenerators", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeCompositForceHidden = _c_external_function( "ntreeCompositForceHidden", [
- ("ntree", ctypes.c_void_p, 1),
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- free_compbuf = _c_external_function( "free_compbuf", [
- ("cbuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class TexResult(ctypes.Structure): pass # typedef or forward reference #
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- ntreeTexTagAnimated = _c_external_function( "ntreeTexTagAnimated", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_int )
- ntreeTexSetPreviewFlag = _c_external_function( "ntreeTexSetPreviewFlag", [
- ("None", ctypes.c_int, 1),],
- ctypes.c_void_p )
- ntreeTexExecTree = _c_external_function( "ntreeTexExecTree", [
- ("ntree", ctypes.c_void_p, 1),
- ("target", ctypes.c_void_p, 1),
- ("coord", ctypes.POINTER( ctypes.c_float ), 1),
- ("dxt", ctypes.POINTER( ctypes.c_float ), 1),
- ("dyt", ctypes.POINTER( ctypes.c_float ), 1),
- ("osatex", ctypes.c_int, 1),
- ("thread", ctypes.c_short, 1),
- ("tex", ctypes.c_void_p, 1),
- ("which_output", ctypes.c_short, 1),
- ("cfra", ctypes.c_int, 1),
- ("preview", ctypes.c_int, 1),
- ("shi", ctypes.c_void_p, 1),
- ("mtex", ctypes.c_void_p, 1),],
- ctypes.c_int )
- ntreeTexCheckCyclics = _c_external_function( "ntreeTexCheckCyclics", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ntreeTexOutputMenu = _c_external_function( "ntreeTexOutputMenu", [
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_char )
- init_nodesystem = _c_external_function( "init_nodesystem", [],
- ctypes.c_void_p )
- free_nodesystem = _c_external_function( "free_nodesystem", [],
- ctypes.c_void_p )
- clear_scene_in_nodes = _c_external_function( "clear_scene_in_nodes", [
- ("bmain", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class wmWindowManager(ctypes.Structure): pass # typedef or forward reference #
- #class wmWindow(ctypes.Structure): pass # typedef or forward reference #
- #class wmEvent(ctypes.Structure): pass # typedef or forward reference #
- #class wmGesture(ctypes.Structure): pass # typedef or forward reference #
- #class wmOperatorType(ctypes.Structure): pass # typedef or forward reference #
- #class wmOperator(ctypes.Structure): pass # typedef or forward reference #
- #class wmKeyMap(ctypes.Structure): pass # typedef or forward reference #
- #class wmKeyConfig(ctypes.Structure): pass # typedef or forward reference #
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class wmLocal(ctypes.Structure): pass # typedef or forward reference #
- #class bScreen(ctypes.Structure): pass # typedef or forward reference #
- #class uiBlock(ctypes.Structure): pass # typedef or forward reference #
- #class wmSubWindow(ctypes.Structure): pass # typedef or forward reference #
- #class wmTimer(ctypes.Structure): pass # typedef or forward reference #
- #class StructRNA(ctypes.Structure): pass # typedef or forward reference #
- #class PointerRNA(ctypes.Structure): pass # typedef or forward reference #
- #class ReportList(ctypes.Structure): pass # typedef or forward reference #
- #class Report(ctypes.Structure): pass # typedef or forward reference #
- #class uiLayout(ctypes.Structure): pass # typedef or forward reference #
- ReportType = {
- "RPT_DEBUG" : 1,
- "RPT_INFO" : 2,
- "RPT_OPERATOR" : 4,
- "RPT_WARNING" : 8,
- "RPT_ERROR" : 16,
- "RPT_ERROR_INVALID_INPUT" : 32,
- "RPT_ERROR_INVALID_CONTEXT" : 64,
- "RPT_ERROR_OUT_OF_MEMORY" : 128,
- }
- ReportListFlags = {
- "RPT_PRINT" : 1,
- "RPT_STORE" : 2,
- "RPT_FREE" : 4,
- }
- class Report(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "type", ctypes.c_short ),
- ( "flag", ctypes.c_short ),
- ( "len", ctypes.c_int ),
- ( "typestr", ctypes.c_char_p ),
- ( "message", ctypes.c_char_p ),]
- class ReportList(ctypes.Structure): _fields_=[
- ( "list", ctypes.c_void_p ),
- ( "printlevel", ctypes.c_int ),
- ( "storelevel", ctypes.c_int ),
- ( "flag", ctypes.c_int ),
- ( "pad", ctypes.c_int ),
- ( "reporttimer", ctypes.c_void_p ),]
- class ReportTimerInfo(ctypes.Structure): _fields_=[
- ( "col", ctypes.c_float ),
- ( "greyscale", ctypes.c_float ),
- ( "widthfac", ctypes.c_float ),]
- class wmWindowManager(ctypes.Structure): _fields_=[
- ( "id", ctypes.c_void_p ),
- ( "windrawable", ctypes.c_void_p ),
- ( "winactive", ctypes.c_void_p ),
- ( "windows", ctypes.c_void_p ),
- ( "initialized", ctypes.c_int ),
- ( "file_saved", ctypes.c_short ),
- ( "op_undo_depth", ctypes.c_short ),
- ( "operators", ctypes.c_void_p ),
- ( "queue", ctypes.c_void_p ),
- ( "reports", ctypes.c_void_p ),
- ( "jobs", ctypes.c_void_p ),
- ( "paintcursors", ctypes.c_void_p ),
- ( "drags", ctypes.c_void_p ),
- ( "keyconfigs", ctypes.c_void_p ),
- ( "defaultconf", ctypes.c_void_p ),
- ( "timers", ctypes.c_void_p ),
- ( "autosavetimer", ctypes.c_void_p ),]
- class wmWindow(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "ghostwin", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "winid", ctypes.c_int ),
- ( "grabcursor", ctypes.c_short ),
- ( "pad", ctypes.c_short ),
- ( "screen", ctypes.c_void_p ),
- ( "newscreen", ctypes.c_void_p ),
- ( "screenname", ctypes.c_char ),
- ( "posx", ctypes.c_short ),
- ( "posy", ctypes.c_short ),
- ( "sizex", ctypes.c_short ),
- ( "sizey", ctypes.c_short ),
- ( "windowstate", ctypes.c_short ),
- ( "monitor", ctypes.c_short ),
- ( "active", ctypes.c_short ),
- ( "cursor", ctypes.c_short ),
- ( "lastcursor", ctypes.c_short ),
- ( "addmousemove", ctypes.c_short ),
- ( "pad2", ctypes.c_short ),
- ( "eventstate", ctypes.c_void_p ),
- ( "curswin", ctypes.c_void_p ),
- ( "tweak", ctypes.c_void_p ),
- ( "drawmethod", ctypes.c_int ),
- ( "drawfail", ctypes.c_int ),
- ( "drawdata", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "queue", ctypes.c_void_p ),
- ( "handlers", ctypes.c_void_p ),
- ( "modalhandlers", ctypes.c_void_p ),
- ( "subwindows", ctypes.c_void_p ),
- ( "gesture", ctypes.c_void_p ),]
- class wmOperatorTypeMacro(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "idname", ctypes.c_char ),
- ( "properties", ctypes.c_void_p ),
- ( "ptr", ctypes.c_void_p ),]
- class wmKeyMapItem(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "idname", ctypes.c_char ),
- ( "properties", ctypes.c_void_p ),
- ( "propvalue", ctypes.c_short ),
- ( "type", ctypes.c_short ),
- ( "val", ctypes.c_short ),
- ( "shift", ctypes.c_short ),
- ( "ctrl", ctypes.c_short ),
- ( "alt", ctypes.c_short ),
- ( "oskey", ctypes.c_short ),
- ( "keymodifier", ctypes.c_short ),
- ( "flag", ctypes.c_short ),
- ( "maptype", ctypes.c_short ),
- ( "id", ctypes.c_short ),
- ( "pad", ctypes.c_short ),
- ( "ptr", ctypes.c_void_p ),]
- class wmKeyMap(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "items", ctypes.c_void_p ),
- ( "idname", ctypes.c_char ),
- ( "spaceid", ctypes.c_short ),
- ( "regionid", ctypes.c_short ),
- ( "flag", ctypes.c_short ),
- ( "kmi_id", ctypes.c_short ),
- ( "poll", ctypes.c_void_p ),
- ( "modal_items", ctypes.POINTER( ctypes.c_void_p ) ),]
- class wmKeyConfig(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "idname", ctypes.c_char ),
- ( "basename", ctypes.c_char ),
- ( "keymaps", ctypes.c_void_p ),
- ( "actkeymap", ctypes.c_int ),
- ( "flag", ctypes.c_int ),]
- class wmOperator(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "idname", ctypes.c_char ),
- ( "properties", ctypes.c_void_p ),
- ( "type", ctypes.c_void_p ),
- ( "customdata", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "py_instance", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "ptr", ctypes.c_void_p ),
- ( "reports", ctypes.c_void_p ),
- ( "macro", ctypes.c_void_p ),
- ( "opm", ctypes.c_void_p ),
- ( "layout", ctypes.c_void_p ),
- ( "flag", ctypes.c_short ),
- ( "pad", ctypes.c_short ),]
- wmRadialControlMode = {
- "WM_RADIALCONTROL_SIZE" : 0,
- "WM_RADIALCONTROL_STRENGTH" : 1,
- "WM_RADIALCONTROL_ANGLE" : 2,
- }
- BKE_reports_init = _c_external_function( "BKE_reports_init", [
- ("reports", ctypes.c_void_p, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_void_p )
- BKE_reports_clear = _c_external_function( "BKE_reports_clear", [
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BKE_report = _c_external_function( "BKE_report", [
- ("reports", ctypes.c_void_p, 1),
- ("type", ctypes.c_void_p, 1),
- ("message", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BKE_reportf = _c_external_function( "BKE_reportf", [
- ("reports", ctypes.c_void_p, 1),
- ("type", ctypes.c_void_p, 1),
- ("format", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BKE_reports_prepend = _c_external_function( "BKE_reports_prepend", [
- ("reports", ctypes.c_void_p, 1),
- ("prepend", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BKE_reports_prependf = _c_external_function( "BKE_reports_prependf", [
- ("reports", ctypes.c_void_p, 1),
- ("prepend", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- BKE_report_print_level = _c_external_function( "BKE_report_print_level", [
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BKE_report_print_level_set = _c_external_function( "BKE_report_print_level_set", [
- ("reports", ctypes.c_void_p, 1),
- ("level", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BKE_report_store_level = _c_external_function( "BKE_report_store_level", [
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BKE_report_store_level_set = _c_external_function( "BKE_report_store_level_set", [
- ("reports", ctypes.c_void_p, 1),
- ("level", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BKE_reports_string = _c_external_function( "BKE_reports_string", [
- ("reports", ctypes.c_void_p, 1),
- ("level", ctypes.c_void_p, 1),],
- ctypes.c_char )
- BKE_reports_print = _c_external_function( "BKE_reports_print", [
- ("reports", ctypes.c_void_p, 1),
- ("level", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BKE_reports_last_displayable = _c_external_function( "BKE_reports_last_displayable", [
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class PackedFile(ctypes.Structure): pass # typedef or forward reference #
- #class bSound(ctypes.Structure): pass # typedef or forward reference #
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- #class Sequence(ctypes.Structure): pass # typedef or forward reference #
- sound_init_once = _c_external_function( "sound_init_once", [],
- ctypes.c_void_p )
- sound_init = _c_external_function( "sound_init", [
- ("main", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_exit = _c_external_function( "sound_exit", [],
- ctypes.c_void_p )
- sound_force_device = _c_external_function( "sound_force_device", [
- ("device", ctypes.c_int, 1),],
- ctypes.c_void_p )
- sound_define_from_str = _c_external_function( "sound_define_from_str", [
- ("str", ctypes.c_char_p, 1),],
- ctypes.c_int )
- sound_new_file = _c_external_function( "sound_new_file", [
- ("main", ctypes.c_void_p, 1),
- ("filename", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- sound_delete = _c_external_function( "sound_delete", [
- ("C", ctypes.c_void_p, 1),
- ("sound", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_cache = _c_external_function( "sound_cache", [
- ("sound", ctypes.c_void_p, 1),
- ("ignore", ctypes.c_int, 1),],
- ctypes.c_void_p )
- sound_delete_cache = _c_external_function( "sound_delete_cache", [
- ("sound", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_load = _c_external_function( "sound_load", [
- ("main", ctypes.c_void_p, 1),
- ("sound", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_free = _c_external_function( "sound_free", [
- ("sound", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_create_scene = _c_external_function( "sound_create_scene", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_destroy_scene = _c_external_function( "sound_destroy_scene", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_scene_add_scene_sound = _c_external_function( "sound_scene_add_scene_sound", [
- ("scene", ctypes.c_void_p, 1),
- ("sequence", ctypes.c_void_p, 1),
- ("startframe", ctypes.c_int, 1),
- ("endframe", ctypes.c_int, 1),
- ("frameskip", ctypes.c_int, 1),],
- ctypes.c_void_p )
- sound_add_scene_sound = _c_external_function( "sound_add_scene_sound", [
- ("scene", ctypes.c_void_p, 1),
- ("sequence", ctypes.c_void_p, 1),
- ("startframe", ctypes.c_int, 1),
- ("endframe", ctypes.c_int, 1),
- ("frameskip", ctypes.c_int, 1),],
- ctypes.c_void_p )
- sound_remove_scene_sound = _c_external_function( "sound_remove_scene_sound", [
- ("scene", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- sound_mute_scene_sound = _c_external_function( "sound_mute_scene_sound", [
- ("scene", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("mute", ctypes.c_char, 1),],
- ctypes.c_void_p )
- sound_move_scene_sound = _c_external_function( "sound_move_scene_sound", [
- ("scene", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("startframe", ctypes.c_int, 1),
- ("endframe", ctypes.c_int, 1),
- ("frameskip", ctypes.c_int, 1),],
- ctypes.c_void_p )
- sound_play_scene = _c_external_function( "sound_play_scene", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_stop_scene = _c_external_function( "sound_stop_scene", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_seek_scene = _c_external_function( "sound_seek_scene", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- sound_sync_scene = _c_external_function( "sound_sync_scene", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_float )
- sound_scene_playing = _c_external_function( "sound_scene_playing", [
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_int )
- sound_read_sound_buffer = _c_external_function( "sound_read_sound_buffer", [
- ("sound", ctypes.c_void_p, 1),
- ("buffer", ctypes.POINTER( ctypes.c_float ), 1),
- ("length", ctypes.c_int, 1),
- ("start", ctypes.c_float, 1),
- ("end", ctypes.c_float, 1),],
- ctypes.c_int )
- #class ImBuf(ctypes.Structure): pass # typedef or forward reference #
- #class anim(ctypes.Structure): pass # typedef or forward reference #
- IMB_init = _c_external_function( "IMB_init", [],
- ctypes.c_void_p )
- IMB_exit = _c_external_function( "IMB_exit", [],
- ctypes.c_void_p )
- IMB_ibImageFromMemory = _c_external_function( "IMB_ibImageFromMemory", [
- ("mem", ctypes.c_char_p, 1),
- ("size", ctypes.c_size_t, 1),
- ("flags", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_testiffname = _c_external_function( "IMB_testiffname", [
- ("naam", ctypes.c_char_p, 1),
- ("flags", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_loadiffname = _c_external_function( "IMB_loadiffname", [
- ("naam", ctypes.c_char_p, 1),
- ("flags", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_freeImBuf = _c_external_function( "IMB_freeImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_allocImBuf = _c_external_function( "IMB_allocImBuf", [
- ("x", ctypes.c_short, 1),
- ("y", ctypes.c_short, 1),
- ("d", ctypes.c_char, 1),
- ("flags", ctypes.c_int, 1),
- ("bitmap", ctypes.c_char, 1),],
- ctypes.c_void_p )
- IMB_refImBuf = _c_external_function( "IMB_refImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_cache_limiter_insert = _c_external_function( "IMB_cache_limiter_insert", [
- ("i", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_cache_limiter_unmanage = _c_external_function( "IMB_cache_limiter_unmanage", [
- ("i", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_cache_limiter_touch = _c_external_function( "IMB_cache_limiter_touch", [
- ("i", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_cache_limiter_ref = _c_external_function( "IMB_cache_limiter_ref", [
- ("i", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_cache_limiter_unref = _c_external_function( "IMB_cache_limiter_unref", [
- ("i", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_cache_limiter_get_refcount = _c_external_function( "IMB_cache_limiter_get_refcount", [
- ("i", ctypes.c_void_p, 1),],
- ctypes.c_int )
- IMB_free_cache_limiter = _c_external_function( "IMB_free_cache_limiter", [],
- ctypes.c_void_p )
- IMB_dupImBuf = _c_external_function( "IMB_dupImBuf", [
- ("ibuf1", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- addzbufImBuf = _c_external_function( "addzbufImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_short )
- addzbuffloatImBuf = _c_external_function( "addzbuffloatImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_short )
- IMB_BlendMode = {
- "IMB_BLEND_MIX" : 0,
- "IMB_BLEND_ADD" : 1,
- "IMB_BLEND_SUB" : 2,
- "IMB_BLEND_MUL" : 3,
- "IMB_BLEND_LIGHTEN" : 4,
- "IMB_BLEND_DARKEN" : 5,
- "IMB_BLEND_ERASE_ALPHA" : 6,
- "IMB_BLEND_ADD_ALPHA" : 7,
- "IMB_BLEND_COPY" : 4096,
- "IMB_BLEND_COPY_RGB" : 4097,
- "IMB_BLEND_COPY_ALPHA" : 4098,
- }
- IMB_blend_color = _c_external_function( "IMB_blend_color", [
- ("src1", ctypes.c_int, 1),
- ("src2", ctypes.c_int, 1),
- ("fac", ctypes.c_int, 1),
- ("mode", ctypes.c_void_p, 1),],
- ctypes.c_int )
- IMB_blend_color_float = _c_external_function( "IMB_blend_color_float", [
- ("dst", ctypes.POINTER( ctypes.c_float ), 1),
- ("src1", ctypes.POINTER( ctypes.c_float ), 1),
- ("src2", ctypes.POINTER( ctypes.c_float ), 1),
- ("fac", ctypes.c_float, 1),
- ("mode", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_rectclip = _c_external_function( "IMB_rectclip", [
- ("dbuf", ctypes.c_void_p, 1),
- ("sbuf", ctypes.c_void_p, 1),
- ("destx", ctypes.POINTER( ctypes.c_int ), 1),
- ("desty", ctypes.POINTER( ctypes.c_int ), 1),
- ("srcx", ctypes.POINTER( ctypes.c_int ), 1),
- ("srcy", ctypes.POINTER( ctypes.c_int ), 1),
- ("width", ctypes.POINTER( ctypes.c_int ), 1),
- ("height", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- IMB_rectcpy = _c_external_function( "IMB_rectcpy", [
- ("drect", ctypes.c_void_p, 1),
- ("srect", ctypes.c_void_p, 1),
- ("destx", ctypes.c_int, 1),
- ("desty", ctypes.c_int, 1),
- ("srcx", ctypes.c_int, 1),
- ("srcy", ctypes.c_int, 1),
- ("width", ctypes.c_int, 1),
- ("height", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_rectblend = _c_external_function( "IMB_rectblend", [
- ("dbuf", ctypes.c_void_p, 1),
- ("sbuf", ctypes.c_void_p, 1),
- ("destx", ctypes.c_int, 1),
- ("desty", ctypes.c_int, 1),
- ("srcx", ctypes.c_int, 1),
- ("srcy", ctypes.c_int, 1),
- ("width", ctypes.c_int, 1),
- ("height", ctypes.c_int, 1),
- ("mode", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_anim_get_duration = _c_external_function( "IMB_anim_get_duration", [
- ("anim", ctypes.c_void_p, 1),],
- ctypes.c_int )
- IMB_open_anim = _c_external_function( "IMB_open_anim", [
- ("name", ctypes.c_char_p, 1),
- ("ib_flags", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_close_anim = _c_external_function( "IMB_close_anim", [
- ("anim", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- ismovie = _c_external_function( "ismovie", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_int )
- IMB_anim_set_preseek = _c_external_function( "IMB_anim_set_preseek", [
- ("anim", ctypes.c_void_p, 1),
- ("preseek", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_anim_get_preseek = _c_external_function( "IMB_anim_get_preseek", [
- ("anim", ctypes.c_void_p, 1),],
- ctypes.c_int )
- IMB_anim_absolute = _c_external_function( "IMB_anim_absolute", [
- ("anim", ctypes.c_void_p, 1),
- ("position", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_anim_previewframe = _c_external_function( "IMB_anim_previewframe", [
- ("anim", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_free_anim_ibuf = _c_external_function( "IMB_free_anim_ibuf", [
- ("anim", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_free_anim = _c_external_function( "IMB_free_anim", [
- ("anim", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_filter = _c_external_function( "IMB_filter", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_filterN = _c_external_function( "IMB_filterN", [
- ("out", ctypes.c_void_p, 1),
- ("in", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_filter_extend = _c_external_function( "IMB_filter_extend", [
- ("ibuf", ctypes.c_void_p, 1),
- ("mask", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- IMB_makemipmap = _c_external_function( "IMB_makemipmap", [
- ("ibuf", ctypes.c_void_p, 1),
- ("use_filter", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_getmipmap = _c_external_function( "IMB_getmipmap", [
- ("ibuf", ctypes.c_void_p, 1),
- ("level", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_tile_cache_params = _c_external_function( "IMB_tile_cache_params", [
- ("totthread", ctypes.c_int, 1),
- ("maxmem", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_gettile = _c_external_function( "IMB_gettile", [
- ("ibuf", ctypes.c_void_p, 1),
- ("tx", ctypes.c_int, 1),
- ("ty", ctypes.c_int, 1),
- ("thread", ctypes.c_int, 1),],
- ctypes.c_int )
- IMB_tiles_to_rect = _c_external_function( "IMB_tiles_to_rect", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_filtery = _c_external_function( "IMB_filtery", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_onehalf = _c_external_function( "IMB_onehalf", [
- ("ibuf1", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_scaleImBuf = _c_external_function( "IMB_scaleImBuf", [
- ("ibuf", ctypes.c_void_p, 1),
- ("newx", ctypes.c_short, 1),
- ("newy", ctypes.c_short, 1),],
- ctypes.c_void_p )
- IMB_scalefastImBuf = _c_external_function( "IMB_scalefastImBuf", [
- ("ibuf", ctypes.c_void_p, 1),
- ("newx", ctypes.c_short, 1),
- ("newy", ctypes.c_short, 1),],
- ctypes.c_void_p )
- IMB_saveiff = _c_external_function( "IMB_saveiff", [
- ("ibuf", ctypes.c_void_p, 1),
- ("naam", ctypes.c_char_p, 1),
- ("flags", ctypes.c_int, 1),],
- ctypes.c_short )
- IMB_png_encode = _c_external_function( "IMB_png_encode", [
- ("ibuf", ctypes.c_void_p, 1),
- ("file", ctypes.c_int, 1),
- ("flags", ctypes.c_int, 1),],
- ctypes.c_short )
- IMB_ispic = _c_external_function( "IMB_ispic", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_int )
- IMB_isanim = _c_external_function( "IMB_isanim", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_int )
- imb_get_anim_type = _c_external_function( "imb_get_anim_type", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_int )
- IMB_de_interlace = _c_external_function( "IMB_de_interlace", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_interlace = _c_external_function( "IMB_interlace", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_rect_from_float = _c_external_function( "IMB_rect_from_float", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_float_from_rect = _c_external_function( "IMB_float_from_rect", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_float_from_rect_simple = _c_external_function( "IMB_float_from_rect_simple", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_convert_profile = _c_external_function( "IMB_convert_profile", [
- ("ibuf", ctypes.c_void_p, 1),
- ("profile", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_convert_rgba_to_abgr = _c_external_function( "IMB_convert_rgba_to_abgr", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_convert_bgra_to_rgba = _c_external_function( "IMB_convert_bgra_to_rgba", [
- ("size", ctypes.c_int, 1),
- ("rect", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- bicubic_interpolation = _c_external_function( "bicubic_interpolation", [
- ("in", ctypes.c_void_p, 1),
- ("out", ctypes.c_void_p, 1),
- ("u", ctypes.c_float, 1),
- ("v", ctypes.c_float, 1),
- ("xout", ctypes.c_int, 1),
- ("yout", ctypes.c_int, 1),],
- ctypes.c_void_p )
- neareast_interpolation = _c_external_function( "neareast_interpolation", [
- ("in", ctypes.c_void_p, 1),
- ("out", ctypes.c_void_p, 1),
- ("u", ctypes.c_float, 1),
- ("v", ctypes.c_float, 1),
- ("xout", ctypes.c_int, 1),
- ("yout", ctypes.c_int, 1),],
- ctypes.c_void_p )
- bilinear_interpolation = _c_external_function( "bilinear_interpolation", [
- ("in", ctypes.c_void_p, 1),
- ("out", ctypes.c_void_p, 1),
- ("u", ctypes.c_float, 1),
- ("v", ctypes.c_float, 1),
- ("xout", ctypes.c_int, 1),
- ("yout", ctypes.c_int, 1),],
- ctypes.c_void_p )
- bicubic_interpolation_color = _c_external_function( "bicubic_interpolation_color", [
- ("in", ctypes.c_void_p, 1),
- ("col", ctypes.c_char_p, 1),
- ("col_float", ctypes.POINTER( ctypes.c_float ), 1),
- ("u", ctypes.c_float, 1),
- ("v", ctypes.c_float, 1),],
- ctypes.c_void_p )
- neareast_interpolation_color = _c_external_function( "neareast_interpolation_color", [
- ("in", ctypes.c_void_p, 1),
- ("col", ctypes.c_char_p, 1),
- ("col_float", ctypes.POINTER( ctypes.c_float ), 1),
- ("u", ctypes.c_float, 1),
- ("v", ctypes.c_float, 1),],
- ctypes.c_void_p )
- bilinear_interpolation_color = _c_external_function( "bilinear_interpolation_color", [
- ("in", ctypes.c_void_p, 1),
- ("col", ctypes.c_char_p, 1),
- ("col_float", ctypes.POINTER( ctypes.c_float ), 1),
- ("u", ctypes.c_float, 1),
- ("v", ctypes.c_float, 1),],
- ctypes.c_void_p )
- bilinear_interpolation_color_wrap = _c_external_function( "bilinear_interpolation_color_wrap", [
- ("in", ctypes.c_void_p, 1),
- ("col", ctypes.c_char_p, 1),
- ("col_float", ctypes.POINTER( ctypes.c_float ), 1),
- ("u", ctypes.c_float, 1),
- ("v", ctypes.c_float, 1),],
- ctypes.c_void_p )
- IMB_loadiffmem = _c_external_function( "IMB_loadiffmem", [
- ("mem", ctypes.POINTER( ctypes.c_int ), 1),
- ("flags", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_loadifffile = _c_external_function( "IMB_loadifffile", [
- ("file", ctypes.c_int, 1),
- ("flags", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_half_x = _c_external_function( "IMB_half_x", [
- ("ibuf1", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_double_fast_x = _c_external_function( "IMB_double_fast_x", [
- ("ibuf1", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_double_x = _c_external_function( "IMB_double_x", [
- ("ibuf1", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_half_y = _c_external_function( "IMB_half_y", [
- ("ibuf1", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_double_fast_y = _c_external_function( "IMB_double_fast_y", [
- ("ibuf1", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_double_y = _c_external_function( "IMB_double_y", [
- ("ibuf1", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_flipx = _c_external_function( "IMB_flipx", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_flipy = _c_external_function( "IMB_flipy", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_premultiply_alpha = _c_external_function( "IMB_premultiply_alpha", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_freezbufImBuf = _c_external_function( "IMB_freezbufImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_freezbuffloatImBuf = _c_external_function( "IMB_freezbuffloatImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- IMB_rectfill = _c_external_function( "IMB_rectfill", [
- ("drect", ctypes.c_void_p, 1),
- ("col", ctypes.c_float, 1),],
- ctypes.c_void_p )
- IMB_rectfill_area = _c_external_function( "IMB_rectfill_area", [
- ("ibuf", ctypes.c_void_p, 1),
- ("col", ctypes.POINTER( ctypes.c_float ), 1),
- ("x1", ctypes.c_int, 1),
- ("y1", ctypes.c_int, 1),
- ("x2", ctypes.c_int, 1),
- ("y2", ctypes.c_int, 1),],
- ctypes.c_void_p )
- buf_rectfill_area = _c_external_function( "buf_rectfill_area", [
- ("rect", ctypes.c_char_p, 1),
- ("rectf", ctypes.POINTER( ctypes.c_float ), 1),
- ("width", ctypes.c_int, 1),
- ("height", ctypes.c_int, 1),
- ("col", ctypes.POINTER( ctypes.c_float ), 1),
- ("x1", ctypes.c_int, 1),
- ("y1", ctypes.c_int, 1),
- ("x2", ctypes.c_int, 1),
- ("y2", ctypes.c_int, 1),],
- ctypes.c_void_p )
- IMB_metadata_change_field = _c_external_function( "IMB_metadata_change_field", [
- ("img", ctypes.c_void_p, 1),
- ("key", ctypes.c_char_p, 1),
- ("field", ctypes.c_char_p, 1),],
- ctypes.c_int )
- imb_addrectImBuf = _c_external_function( "imb_addrectImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_short )
- imb_freerectImBuf = _c_external_function( "imb_freerectImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- imb_addrectfloatImBuf = _c_external_function( "imb_addrectfloatImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_short )
- imb_freerectfloatImBuf = _c_external_function( "imb_freerectfloatImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- imb_freemipmapImBuf = _c_external_function( "imb_freemipmapImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- imb_addtilesImBuf = _c_external_function( "imb_addtilesImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_short )
- imb_freetilesImBuf = _c_external_function( "imb_freetilesImBuf", [
- ("ibuf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #bprogname <TypeDecl=char>
- #btempdir <TypeDecl=char>
- #class Text(ctypes.Structure): pass # typedef or forward reference #
- #class ID(ctypes.Structure): pass # typedef or forward reference #
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- #class ChannelDriver(ctypes.Structure): pass # typedef or forward reference #
- #class ListBase(ctypes.Structure): pass # typedef or forward reference #
- #class SpaceText(ctypes.Structure): pass # typedef or forward reference #
- #class SpaceScript(ctypes.Structure): pass # typedef or forward reference #
- #class ScrArea(ctypes.Structure): pass # typedef or forward reference #
- #class bScreen(ctypes.Structure): pass # typedef or forward reference #
- #class bConstraint(ctypes.Structure): pass # typedef or forward reference #
- #class bPythonConstraint(ctypes.Structure): pass # typedef or forward reference #
- #class bConstraintOb(ctypes.Structure): pass # typedef or forward reference #
- #class bConstraintTarget(ctypes.Structure): pass # typedef or forward reference #
- #class Script(ctypes.Structure): pass # typedef or forward reference #
- #class BPyMenu(ctypes.Structure): pass # typedef or forward reference #
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class bContextDataResult(ctypes.Structure): pass # typedef or forward reference #
- #class ReportList(ctypes.Structure): pass # typedef or forward reference #
- BPY_pyconstraint_eval = _c_external_function( "BPY_pyconstraint_eval", [
- ("con", ctypes.c_void_p, 1),
- ("cob", ctypes.c_void_p, 1),
- ("targets", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BPY_pyconstraint_target = _c_external_function( "BPY_pyconstraint_target", [
- ("con", ctypes.c_void_p, 1),
- ("ct", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BPY_pyconstraint_update = _c_external_function( "BPY_pyconstraint_update", [
- ("owner", ctypes.c_void_p, 1),
- ("con", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BPY_is_pyconstraint = _c_external_function( "BPY_is_pyconstraint", [
- ("text", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BPY_start_python = _c_external_function( "BPY_start_python", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),],
- ctypes.c_void_p )
- BPY_end_python = _c_external_function( "BPY_end_python", [],
- ctypes.c_void_p )
- BPY_run_python_script = _c_external_function( "BPY_run_python_script", [
- ("C", ctypes.c_void_p, 1),
- ("filename", ctypes.c_char_p, 1),
- ("text", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BPY_run_script_space_draw = _c_external_function( "BPY_run_script_space_draw", [
- ("C", ctypes.c_void_p, 1),
- ("sc", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BPY_update_modules = _c_external_function( "BPY_update_modules", [],
- ctypes.c_void_p )
- BPY_context_get = _c_external_function( "BPY_context_get", [
- ("C", ctypes.c_void_p, 1),
- ("member", ctypes.c_char_p, 1),
- ("result", ctypes.c_void_p, 1),],
- ctypes.c_int )
- BPY_free_compiled_text = _c_external_function( "BPY_free_compiled_text", [
- ("text", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BPY_eval_driver = _c_external_function( "BPY_eval_driver", [
- ("driver", ctypes.c_void_p, 1),],
- ctypes.c_float )
- BPY_eval_button = _c_external_function( "BPY_eval_button", [
- ("C", ctypes.c_void_p, 1),
- ("expr", ctypes.c_char_p, 1),
- ("value", ctypes.POINTER( ctypes.c_double ), 1),],
- ctypes.c_int )
- BPY_eval_string = _c_external_function( "BPY_eval_string", [
- ("C", ctypes.c_void_p, 1),
- ("expr", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BPY_call_importloader = _c_external_function( "BPY_call_importloader", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_int )
- BPY_DECREF = _c_external_function( "BPY_DECREF", [],
- ctypes.c_void_p )
- BPY_set_context = _c_external_function( "BPY_set_context", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- BPY_load_user_modules = _c_external_function( "BPY_load_user_modules", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class bNodeTree(ctypes.Structure): pass # typedef or forward reference #
- #class Image(ctypes.Structure): pass # typedef or forward reference #
- #class Main(ctypes.Structure): pass # typedef or forward reference #
- #class NodeBlurData(ctypes.Structure): pass # typedef or forward reference #
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- #class RenderData(ctypes.Structure): pass # typedef or forward reference #
- #class RenderEngine(ctypes.Structure): pass # typedef or forward reference #
- #class RenderEngineType(ctypes.Structure): pass # typedef or forward reference #
- #class RenderResult(ctypes.Structure): pass # typedef or forward reference #
- #class ReportList(ctypes.Structure): pass # typedef or forward reference #
- #class ReportList(ctypes.Structure): pass # typedef or forward reference #
- #class Scene(ctypes.Structure): pass # typedef or forward reference #
- #class SceneRenderLayer(ctypes.Structure): pass # typedef or forward reference #
- #class Render(ctypes.Structure): pass # typedef or forward reference #
- class RenderPass(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "passtype", ctypes.c_int ),
- ( "channels", ctypes.c_int ),
- ( "name", ctypes.c_char ),
- ( "chan_id", ctypes.c_char ),
- ( "rect", ctypes.POINTER( ctypes.c_float ) ),
- ( "rectx", ctypes.c_int ),
- ( "recty", ctypes.c_int ),]
- class RenderLayer(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "name", ctypes.c_char ),
- ( "lay", ctypes.c_int ),
- ( "lay_zmask", ctypes.c_int ),
- ( "layflag", ctypes.c_int ),
- ( "passflag", ctypes.c_int ),
- ( "pass_xor", ctypes.c_int ),
- ( "mat_override", ctypes.c_void_p ),
- ( "light_override", ctypes.c_void_p ),
- ( "rectf", ctypes.POINTER( ctypes.c_float ) ),
- ( "acolrect", ctypes.POINTER( ctypes.c_float ) ),
- ( "scolrect", ctypes.POINTER( ctypes.c_float ) ),
- ( "rectx", ctypes.c_int ),
- ( "recty", ctypes.c_int ),
- ( "passes", ctypes.c_void_p ),]
- class RenderResult(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "rectx", ctypes.c_int ),
- ( "recty", ctypes.c_int ),
- ( "crop", ctypes.c_short ),
- ( "sample_nr", ctypes.c_short ),
- ( "rect32", ctypes.POINTER( ctypes.c_int ) ),
- ( "rectf", ctypes.POINTER( ctypes.c_float ) ),
- ( "rectz", ctypes.POINTER( ctypes.c_float ) ),
- ( "tilerect", ctypes.c_void_p ),
- ( "xof", ctypes.c_int ),
- ( "yof", ctypes.c_int ),
- ( "layers", ctypes.c_void_p ),
- ( "renrect", ctypes.c_void_p ),
- ( "renlay", ctypes.c_void_p ),
- ( "exrhandle", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "framenr", ctypes.c_int ),
- ( "have_combined", ctypes.c_int ),
- ( "text", ctypes.c_char_p ),]
- class RenderStats(ctypes.Structure): _fields_=[
- ( "cfra", ctypes.c_int ),
- ( "totface", ctypes.c_int ),
- ( "totvert", ctypes.c_int ),
- ( "totstrand", ctypes.c_int ),
- ( "tothalo", ctypes.c_int ),
- ( "totlamp", ctypes.c_int ),
- ( "totpart", ctypes.c_int ),
- ( "curfield", ctypes.c_short ),
- ( "curblur", ctypes.c_short ),
- ( "curpart", ctypes.c_short ),
- ( "partsdone", ctypes.c_short ),
- ( "convertdone", ctypes.c_short ),
- ( "starttime", ctypes.c_double ),
- ( "lastframetime", ctypes.c_double ),
- ( "infostr", ctypes.c_char_p ),
- ( "statstr", ctypes.c_char_p ),
- ( "scenename", ctypes.c_char ),]
- RE_NewRender = _c_external_function( "RE_NewRender", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RE_GetRender = _c_external_function( "RE_GetRender", [
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RE_RenderInProgress = _c_external_function( "RE_RenderInProgress", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_int )
- RE_FreeRender = _c_external_function( "RE_FreeRender", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_FreeAllRender = _c_external_function( "RE_FreeAllRender", [],
- ctypes.c_void_p )
- RE_FreeRenderResult = _c_external_function( "RE_FreeRenderResult", [
- ("rr", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_AcquireResultRead = _c_external_function( "RE_AcquireResultRead", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_AcquireResultWrite = _c_external_function( "RE_AcquireResultWrite", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_ReleaseResult = _c_external_function( "RE_ReleaseResult", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_AcquireResultImage = _c_external_function( "RE_AcquireResultImage", [
- ("re", ctypes.c_void_p, 1),
- ("rr", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_ReleaseResultImage = _c_external_function( "RE_ReleaseResultImage", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_SwapResult = _c_external_function( "RE_SwapResult", [
- ("re", ctypes.c_void_p, 1),
- ("rr", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_GetStats = _c_external_function( "RE_GetStats", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_ResultGet32 = _c_external_function( "RE_ResultGet32", [
- ("re", ctypes.c_void_p, 1),
- ("rect", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- RE_GetRenderLayer = _c_external_function( "RE_GetRenderLayer", [
- ("rr", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RE_RenderLayerGetPass = _c_external_function( "RE_RenderLayerGetPass", [
- ("rl", ctypes.c_void_p, 1),
- ("passtype", ctypes.c_int, 1),],
- ctypes.c_float )
- RE_InitState = _c_external_function( "RE_InitState", [
- ("re", ctypes.c_void_p, 1),
- ("source", ctypes.c_void_p, 1),
- ("rd", ctypes.c_void_p, 1),
- ("srl", ctypes.c_void_p, 1),
- ("winx", ctypes.c_int, 1),
- ("winy", ctypes.c_int, 1),
- ("disprect", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_SetDispRect = _c_external_function( "RE_SetDispRect", [
- ("re", ctypes.c_void_p, 1),
- ("disprect", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_SetCamera = _c_external_function( "RE_SetCamera", [
- ("re", ctypes.c_void_p, 1),
- ("camera", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_SetWindow = _c_external_function( "RE_SetWindow", [
- ("re", ctypes.c_void_p, 1),
- ("viewplane", ctypes.c_void_p, 1),
- ("clipsta", ctypes.c_float, 1),
- ("clipend", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RE_SetOrtho = _c_external_function( "RE_SetOrtho", [
- ("re", ctypes.c_void_p, 1),
- ("viewplane", ctypes.c_void_p, 1),
- ("clipsta", ctypes.c_float, 1),
- ("clipend", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RE_SetPixelSize = _c_external_function( "RE_SetPixelSize", [
- ("re", ctypes.c_void_p, 1),
- ("pixsize", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RE_SetView = _c_external_function( "RE_SetView", [
- ("re", ctypes.c_void_p, 1),
- ("mat", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RE_Database_FromScene = _c_external_function( "RE_Database_FromScene", [
- ("re", ctypes.c_void_p, 1),
- ("bmain", ctypes.c_void_p, 1),
- ("scene", ctypes.c_void_p, 1),
- ("lay", ctypes.c_int, 1),
- ("use_camera_view", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RE_Database_Free = _c_external_function( "RE_Database_Free", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_DataBase_ApplyWindow = _c_external_function( "RE_DataBase_ApplyWindow", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_set_max_threads = _c_external_function( "RE_set_max_threads", [
- ("threads", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RE_init_threadcount = _c_external_function( "RE_init_threadcount", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_TileProcessor = _c_external_function( "RE_TileProcessor", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_BlenderFrame = _c_external_function( "RE_BlenderFrame", [
- ("re", ctypes.c_void_p, 1),
- ("bmain", ctypes.c_void_p, 1),
- ("scene", ctypes.c_void_p, 1),
- ("srl", ctypes.c_void_p, 1),
- ("lay", ctypes.c_int, 1),
- ("frame", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RE_BlenderAnim = _c_external_function( "RE_BlenderAnim", [
- ("re", ctypes.c_void_p, 1),
- ("bmain", ctypes.c_void_p, 1),
- ("scene", ctypes.c_void_p, 1),
- ("lay", ctypes.c_int, 1),
- ("sfra", ctypes.c_int, 1),
- ("efra", ctypes.c_int, 1),
- ("tfra", ctypes.c_int, 1),
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_PreviewRender = _c_external_function( "RE_PreviewRender", [
- ("re", ctypes.c_void_p, 1),
- ("bmain", ctypes.c_void_p, 1),
- ("scene", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_ReadRenderResult = _c_external_function( "RE_ReadRenderResult", [
- ("scene", ctypes.c_void_p, 1),
- ("scenode", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_WriteRenderResult = _c_external_function( "RE_WriteRenderResult", [
- ("rr", ctypes.c_void_p, 1),
- ("filename", ctypes.c_char_p, 1),
- ("compress", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RE_MultilayerConvert = _c_external_function( "RE_MultilayerConvert", [
- ("exrhandle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("rectx", ctypes.c_int, 1),
- ("recty", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RE_MergeFullSample = _c_external_function( "RE_MergeFullSample", [
- ("re", ctypes.c_void_p, 1),
- ("sce", ctypes.c_void_p, 1),
- ("ntree", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_make_stars = _c_external_function( "RE_make_stars", [
- ("re", ctypes.c_void_p, 1),
- ("scenev3d", ctypes.c_void_p, 1),
- ("initfunc", ctypes.c_void_p, 1),
- ("vertexfunc", ctypes.c_void_p, 1),
- ("termfunc", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_display_init_cb = _c_external_function( "RE_display_init_cb", [
- ("re", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_display_clear_cb = _c_external_function( "RE_display_clear_cb", [
- ("re", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_display_draw_cb = _c_external_function( "RE_display_draw_cb", [
- ("re", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_stats_draw_cb = _c_external_function( "RE_stats_draw_cb", [
- ("re", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_progress_cb = _c_external_function( "RE_progress_cb", [
- ("re", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_test_break_cb = _c_external_function( "RE_test_break_cb", [
- ("re", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_error_cb = _c_external_function( "RE_error_cb", [
- ("re", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("f", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_filter_value = _c_external_function( "RE_filter_value", [
- ("type", ctypes.c_int, 1),
- ("x", ctypes.c_float, 1),],
- ctypes.c_float )
- RE_zbuf_accumulate_vecblur = _c_external_function( "RE_zbuf_accumulate_vecblur", [
- ("nbd", ctypes.c_void_p, 1),
- ("xsize", ctypes.c_int, 1),
- ("ysize", ctypes.c_int, 1),
- ("newrect", ctypes.POINTER( ctypes.c_float ), 1),
- ("imgrect", ctypes.POINTER( ctypes.c_float ), 1),
- ("vecbufrect", ctypes.POINTER( ctypes.c_float ), 1),
- ("zbufrect", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- RE_Database_Baking = _c_external_function( "RE_Database_Baking", [
- ("re", ctypes.c_void_p, 1),
- ("bmain", ctypes.c_void_p, 1),
- ("scene", ctypes.c_void_p, 1),
- ("lay", ctypes.c_int, 1),
- ("type", ctypes.c_int, 1),
- ("actob", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_DataBase_GetView = _c_external_function( "RE_DataBase_GetView", [
- ("re", ctypes.c_void_p, 1),
- ("mat", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RE_GetCameraWindow = _c_external_function( "RE_GetCameraWindow", [
- ("re", ctypes.c_void_p, 1),
- ("camera", ctypes.c_void_p, 1),
- ("frame", ctypes.c_int, 1),
- ("mat", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RE_GetScene = _c_external_function( "RE_GetScene", [
- ("re", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #R_engines <TypeDecl=ListBase>
- class RenderEngineType(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "idname", ctypes.c_char ),
- ( "name", ctypes.c_char ),
- ( "flag", ctypes.c_int ),
- ( "render", ctypes.c_void_p ),
- ( "ext", ctypes.c_void_p ),]
- class RenderEngine(ctypes.Structure): _fields_=[
- ( "type", ctypes.c_void_p ),
- ( "re", ctypes.c_void_p ),
- ( "fullresult", ctypes.c_void_p ),]
- RE_layer_load_from_file = _c_external_function( "RE_layer_load_from_file", [
- ("layer", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),
- ("filename", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RE_result_load_from_file = _c_external_function( "RE_result_load_from_file", [
- ("result", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),
- ("filename", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RE_engine_begin_result = _c_external_function( "RE_engine_begin_result", [
- ("engine", ctypes.c_void_p, 1),
- ("x", ctypes.c_int, 1),
- ("y", ctypes.c_int, 1),
- ("w", ctypes.c_int, 1),
- ("h", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RE_engine_update_result = _c_external_function( "RE_engine_update_result", [
- ("engine", ctypes.c_void_p, 1),
- ("result", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_engine_end_result = _c_external_function( "RE_engine_end_result", [
- ("engine", ctypes.c_void_p, 1),
- ("result", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RE_engine_test_break = _c_external_function( "RE_engine_test_break", [
- ("engine", ctypes.c_void_p, 1),],
- ctypes.c_int )
- RE_engine_update_stats = _c_external_function( "RE_engine_update_stats", [
- ("engine", ctypes.c_void_p, 1),
- ("stats", ctypes.c_char_p, 1),
- ("info", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RE_engines_init = _c_external_function( "RE_engines_init", [],
- ctypes.c_void_p )
- RE_engines_exit = _c_external_function( "RE_engines_exit", [],
- ctypes.c_void_p )
- #datatoc_startup_blend_size <TypeDecl=int>
- #datatoc_startup_blend <TypeDecl=char>
- #datatoc_blenderbuttons_size <TypeDecl=int>
- #datatoc_blenderbuttons <TypeDecl=char>
- #datatoc_prvicons_size <TypeDecl=int>
- #datatoc_prvicons <TypeDecl=char>
- #datatoc_splash_png_size <TypeDecl=int>
- #datatoc_splash_png <TypeDecl=char>
- #datatoc_Bfont_size <TypeDecl=int>
- #datatoc_Bfont <TypeDecl=char>
- #datatoc_bfont_ttf_size <TypeDecl=int>
- #datatoc_bfont_ttf <TypeDecl=char>
- #datatoc_bmonofont_ttf_size <TypeDecl=int>
- #datatoc_bmonofont_ttf <TypeDecl=char>
- #datatoc_add_png_size <TypeDecl=int>
- #datatoc_add_png <TypeDecl=char>
- #datatoc_blob_png_size <TypeDecl=int>
- #datatoc_blob_png <TypeDecl=char>
- #datatoc_blur_png_size <TypeDecl=int>
- #datatoc_blur_png <TypeDecl=char>
- #datatoc_clay_png_size <TypeDecl=int>
- #datatoc_clay_png <TypeDecl=char>
- #datatoc_clone_png_size <TypeDecl=int>
- #datatoc_clone_png <TypeDecl=char>
- #datatoc_crease_png_size <TypeDecl=int>
- #datatoc_crease_png <TypeDecl=char>
- #datatoc_darken_png_size <TypeDecl=int>
- #datatoc_darken_png <TypeDecl=char>
- #datatoc_draw_png_size <TypeDecl=int>
- #datatoc_draw_png <TypeDecl=char>
- #datatoc_fill_png_size <TypeDecl=int>
- #datatoc_fill_png <TypeDecl=char>
- #datatoc_flatten_png_size <TypeDecl=int>
- #datatoc_flatten_png <TypeDecl=char>
- #datatoc_grab_png_size <TypeDecl=int>
- #datatoc_grab_png <TypeDecl=char>
- #datatoc_inflate_png_size <TypeDecl=int>
- #datatoc_inflate_png <TypeDecl=char>
- #datatoc_layer_png_size <TypeDecl=int>
- #datatoc_layer_png <TypeDecl=char>
- #datatoc_lighten_png_size <TypeDecl=int>
- #datatoc_lighten_png <TypeDecl=char>
- #datatoc_mix_png_size <TypeDecl=int>
- #datatoc_mix_png <TypeDecl=char>
- #datatoc_multiply_png_size <TypeDecl=int>
- #datatoc_multiply_png <TypeDecl=char>
- #datatoc_nudge_png_size <TypeDecl=int>
- #datatoc_nudge_png <TypeDecl=char>
- #datatoc_pinch_png_size <TypeDecl=int>
- #datatoc_pinch_png <TypeDecl=char>
- #datatoc_scrape_png_size <TypeDecl=int>
- #datatoc_scrape_png <TypeDecl=char>
- #datatoc_smear_png_size <TypeDecl=int>
- #datatoc_smear_png <TypeDecl=char>
- #datatoc_smooth_png_size <TypeDecl=int>
- #datatoc_smooth_png <TypeDecl=char>
- #datatoc_snake_hook_png_size <TypeDecl=int>
- #datatoc_snake_hook_png <TypeDecl=char>
- #datatoc_soften_png_size <TypeDecl=int>
- #datatoc_soften_png <TypeDecl=char>
- #datatoc_subtract_png_size <TypeDecl=int>
- #datatoc_subtract_png <TypeDecl=char>
- #datatoc_texdraw_png_size <TypeDecl=int>
- #datatoc_texdraw_png <TypeDecl=char>
- #datatoc_thumb_png_size <TypeDecl=int>
- #datatoc_thumb_png <TypeDecl=char>
- #datatoc_twist_png_size <TypeDecl=int>
- #datatoc_twist_png <TypeDecl=char>
- #datatoc_vertexdraw_png_size <TypeDecl=int>
- #datatoc_vertexdraw_png <TypeDecl=char>
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class IDProperty(ctypes.Structure): pass # typedef or forward reference #
- #class wmEvent(ctypes.Structure): pass # typedef or forward reference #
- #class wmEventHandler(ctypes.Structure): pass # typedef or forward reference #
- #class wmGesture(ctypes.Structure): pass # typedef or forward reference #
- #class wmJob(ctypes.Structure): pass # typedef or forward reference #
- #class wmNotifier(ctypes.Structure): pass # typedef or forward reference #
- #class wmOperatorType(ctypes.Structure): pass # typedef or forward reference #
- #class wmOperator(ctypes.Structure): pass # typedef or forward reference #
- #class rcti(ctypes.Structure): pass # typedef or forward reference #
- #class PointerRNA(ctypes.Structure): pass # typedef or forward reference #
- #class EnumPropertyItem(ctypes.Structure): pass # typedef or forward reference #
- #class MenuType(ctypes.Structure): pass # typedef or forward reference #
- #class wmDropBox(ctypes.Structure): pass # typedef or forward reference #
- #class wmDrag(ctypes.Structure): pass # typedef or forward reference #
- #class ImBuf(ctypes.Structure): pass # typedef or forward reference #
- #class wmJob(ctypes.Structure): pass # typedef or forward reference #
- WM_setprefsize = _c_external_function( "WM_setprefsize", [
- ("stax", ctypes.c_int, 1),
- ("stay", ctypes.c_int, 1),
- ("sizx", ctypes.c_int, 1),
- ("sizy", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_setinitialstate_fullscreen = _c_external_function( "WM_setinitialstate_fullscreen", [],
- ctypes.c_void_p )
- WM_setinitialstate_normal = _c_external_function( "WM_setinitialstate_normal", [],
- ctypes.c_void_p )
- WM_init = _c_external_function( "WM_init", [
- ("C", ctypes.c_void_p, 1),
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),],
- ctypes.c_void_p )
- WM_exit = _c_external_function( "WM_exit", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_main = _c_external_function( "WM_main", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_init_game = _c_external_function( "WM_init_game", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_init_splash = _c_external_function( "WM_init_splash", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_check = _c_external_function( "WM_check", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_window_open = _c_external_function( "WM_window_open", [
- ("C", ctypes.c_void_p, 1),
- ("rect", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_window_open_temp = _c_external_function( "WM_window_open_temp", [
- ("C", ctypes.c_void_p, 1),
- ("position", ctypes.c_void_p, 1),
- ("type", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_read_homefile = _c_external_function( "WM_read_homefile", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_write_homefile = _c_external_function( "WM_write_homefile", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_read_file = _c_external_function( "WM_read_file", [
- ("C", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_write_file = _c_external_function( "WM_write_file", [
- ("C", ctypes.c_void_p, 1),
- ("target", ctypes.c_char_p, 1),
- ("fileflags", ctypes.c_int, 1),
- ("reports", ctypes.c_void_p, 1),
- ("copy", ctypes.c_int, 1),],
- ctypes.c_int )
- WM_read_autosavefile = _c_external_function( "WM_read_autosavefile", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_autosave_init = _c_external_function( "WM_autosave_init", [
- ("wm", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_cursor_set = _c_external_function( "WM_cursor_set", [
- ("win", ctypes.c_void_p, 1),
- ("curs", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_cursor_modal = _c_external_function( "WM_cursor_modal", [
- ("win", ctypes.c_void_p, 1),
- ("curs", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_cursor_restore = _c_external_function( "WM_cursor_restore", [
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_cursor_wait = _c_external_function( "WM_cursor_wait", [
- ("val", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_cursor_grab = _c_external_function( "WM_cursor_grab", [
- ("win", ctypes.c_void_p, 1),
- ("wrap", ctypes.c_int, 1),
- ("hide", ctypes.c_int, 1),
- ("bounds", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- WM_cursor_ungrab = _c_external_function( "WM_cursor_ungrab", [
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_timecursor = _c_external_function( "WM_timecursor", [
- ("win", ctypes.c_void_p, 1),
- ("nr", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_paint_cursor_activate = _c_external_function( "WM_paint_cursor_activate", [
- ("wm", ctypes.c_void_p, 1),
- ("poll", ctypes.c_void_p, 1),
- ("draw", ctypes.c_void_p, 1),
- ("customdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_paint_cursor_end = _c_external_function( "WM_paint_cursor_end", [
- ("wm", ctypes.c_void_p, 1),
- ("handle", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_cursor_warp = _c_external_function( "WM_cursor_warp", [
- ("win", ctypes.c_void_p, 1),
- ("x", ctypes.c_int, 1),
- ("y", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_keyconfig_new = _c_external_function( "WM_keyconfig_new", [
- ("wm", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_keyconfig_new_user = _c_external_function( "WM_keyconfig_new_user", [
- ("wm", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_keyconfig_remove = _c_external_function( "WM_keyconfig_remove", [
- ("wm", ctypes.c_void_p, 1),
- ("keyconf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keyconfig_free = _c_external_function( "WM_keyconfig_free", [
- ("keyconf", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keyconfig_userdef = _c_external_function( "WM_keyconfig_userdef", [
- ("wm", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_init = _c_external_function( "WM_keymap_init", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_free = _c_external_function( "WM_keymap_free", [
- ("keymap", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_verify_item = _c_external_function( "WM_keymap_verify_item", [
- ("keymap", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),
- ("type", ctypes.c_int, 1),
- ("val", ctypes.c_int, 1),
- ("modifier", ctypes.c_int, 1),
- ("keymodifier", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_keymap_add_item = _c_external_function( "WM_keymap_add_item", [
- ("keymap", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),
- ("type", ctypes.c_int, 1),
- ("val", ctypes.c_int, 1),
- ("modifier", ctypes.c_int, 1),
- ("keymodifier", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_keymap_add_menu = _c_external_function( "WM_keymap_add_menu", [
- ("keymap", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),
- ("type", ctypes.c_int, 1),
- ("val", ctypes.c_int, 1),
- ("modifier", ctypes.c_int, 1),
- ("keymodifier", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_keymap_remove_item = _c_external_function( "WM_keymap_remove_item", [
- ("keymap", ctypes.c_void_p, 1),
- ("kmi", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_item_to_string = _c_external_function( "WM_keymap_item_to_string", [
- ("kmi", ctypes.c_void_p, 1),
- ("str", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),],
- ctypes.c_char )
- WM_keymap_list_find = _c_external_function( "WM_keymap_list_find", [
- ("lb", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),
- ("spaceid", ctypes.c_int, 1),
- ("regionid", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_keymap_find = _c_external_function( "WM_keymap_find", [
- ("keyconf", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),
- ("spaceid", ctypes.c_int, 1),
- ("regionid", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_keymap_find_all = _c_external_function( "WM_keymap_find_all", [
- ("C", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),
- ("spaceid", ctypes.c_int, 1),
- ("regionid", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_keymap_active = _c_external_function( "WM_keymap_active", [
- ("wm", ctypes.c_void_p, 1),
- ("keymap", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_guess_opname = _c_external_function( "WM_keymap_guess_opname", [
- ("C", ctypes.c_void_p, 1),
- ("opname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_keymap_user_init = _c_external_function( "WM_keymap_user_init", [
- ("wm", ctypes.c_void_p, 1),
- ("keymap", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_keymap_copy_to_user = _c_external_function( "WM_keymap_copy_to_user", [
- ("keymap", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_restore_to_default = _c_external_function( "WM_keymap_restore_to_default", [
- ("keymap", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_properties_reset = _c_external_function( "WM_keymap_properties_reset", [
- ("kmi", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_restore_item_to_default = _c_external_function( "WM_keymap_restore_item_to_default", [
- ("C", ctypes.c_void_p, 1),
- ("keymap", ctypes.c_void_p, 1),
- ("kmi", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_keymap_item_find_id = _c_external_function( "WM_keymap_item_find_id", [
- ("keymap", ctypes.c_void_p, 1),
- ("id", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_keymap_item_compare = _c_external_function( "WM_keymap_item_compare", [
- ("k1", ctypes.c_void_p, 1),
- ("k2", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_userdef_event_map = _c_external_function( "WM_userdef_event_map", [
- ("kmitype", ctypes.c_int, 1),],
- ctypes.c_int )
- WM_modalkeymap_add = _c_external_function( "WM_modalkeymap_add", [
- ("keyconf", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),
- ("items", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_modalkeymap_get = _c_external_function( "WM_modalkeymap_get", [
- ("keyconf", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_modalkeymap_add_item = _c_external_function( "WM_modalkeymap_add_item", [
- ("km", ctypes.c_void_p, 1),
- ("type", ctypes.c_int, 1),
- ("val", ctypes.c_int, 1),
- ("modifier", ctypes.c_int, 1),
- ("keymodifier", ctypes.c_int, 1),
- ("value", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_modalkeymap_assign = _c_external_function( "WM_modalkeymap_assign", [
- ("km", ctypes.c_void_p, 1),
- ("opname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_key_event_string = _c_external_function( "WM_key_event_string", [
- ("type", ctypes.c_short, 1),],
- ctypes.c_char )
- WM_key_event_operator_id = _c_external_function( "WM_key_event_operator_id", [
- ("C", ctypes.c_void_p, 1),
- ("opname", ctypes.c_char_p, 1),
- ("opcontext", ctypes.c_int, 1),
- ("properties", ctypes.c_void_p, 1),
- ("hotkey", ctypes.c_int, 1),
- ("keymap_r", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_key_event_operator_string = _c_external_function( "WM_key_event_operator_string", [
- ("C", ctypes.c_void_p, 1),
- ("opname", ctypes.c_char_p, 1),
- ("opcontext", ctypes.c_int, 1),
- ("properties", ctypes.c_void_p, 1),
- ("str", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),],
- ctypes.c_char )
- WM_event_add_keymap_handler = _c_external_function( "WM_event_add_keymap_handler", [
- ("handlers", ctypes.c_void_p, 1),
- ("keymap", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_add_keymap_handler_bb = _c_external_function( "WM_event_add_keymap_handler_bb", [
- ("handlers", ctypes.c_void_p, 1),
- ("keymap", ctypes.c_void_p, 1),
- ("bb", ctypes.c_void_p, 1),
- ("swinbb", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_add_keymap_handler_priority = _c_external_function( "WM_event_add_keymap_handler_priority", [
- ("handlers", ctypes.c_void_p, 1),
- ("keymap", ctypes.c_void_p, 1),
- ("priority", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_event_remove_keymap_handler = _c_external_function( "WM_event_remove_keymap_handler", [
- ("handlers", ctypes.c_void_p, 1),
- ("keymap", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_add_ui_handler = _c_external_function( "WM_event_add_ui_handler", [
- ("C", ctypes.c_void_p, 1),
- ("handlers", ctypes.c_void_p, 1),
- ("func", ctypes.c_void_p, 1),
- ("remove", ctypes.c_void_p, 1),
- ("userdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_event_remove_ui_handler = _c_external_function( "WM_event_remove_ui_handler", [
- ("handlers", ctypes.c_void_p, 1),
- ("func", ctypes.c_void_p, 1),
- ("remove", ctypes.c_void_p, 1),
- ("userdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_event_remove_area_handler = _c_external_function( "WM_event_remove_area_handler", [
- ("handlers", ctypes.c_void_p, 1),
- ("area", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_event_add_modal_handler = _c_external_function( "WM_event_add_modal_handler", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_remove_handlers = _c_external_function( "WM_event_remove_handlers", [
- ("C", ctypes.c_void_p, 1),
- ("handlers", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_add_dropbox_handler = _c_external_function( "WM_event_add_dropbox_handler", [
- ("handlers", ctypes.c_void_p, 1),
- ("dropboxes", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_add_mousemove = _c_external_function( "WM_event_add_mousemove", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_modal_tweak_exit = _c_external_function( "WM_modal_tweak_exit", [
- ("evt", ctypes.c_void_p, 1),
- ("tweak_event", ctypes.c_int, 1),],
- ctypes.c_int )
- WM_event_add_notifier = _c_external_function( "WM_event_add_notifier", [
- ("C", ctypes.c_void_p, 1),
- ("type", ctypes.c_int, 1),
- ("reference", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_main_add_notifier = _c_external_function( "WM_main_add_notifier", [
- ("type", ctypes.c_int, 1),
- ("reference", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- wm_event_add = _c_external_function( "wm_event_add", [
- ("win", ctypes.c_void_p, 1),
- ("event_to_add", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_add_timer = _c_external_function( "WM_event_add_timer", [
- ("wm", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),
- ("event_type", ctypes.c_int, 1),
- ("timestep", ctypes.c_double, 1),],
- ctypes.c_void_p )
- WM_event_remove_timer = _c_external_function( "WM_event_remove_timer", [
- ("wm", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),
- ("timer", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_timer_sleep = _c_external_function( "WM_event_timer_sleep", [
- ("wm", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),
- ("timer", ctypes.c_void_p, 1),
- ("dosleep", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_menu_invoke = _c_external_function( "WM_menu_invoke", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_enum_search_invoke = _c_external_function( "WM_enum_search_invoke", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_confirm = _c_external_function( "WM_operator_confirm", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_filesel = _c_external_function( "WM_operator_filesel", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_winactive = _c_external_function( "WM_operator_winactive", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_props_popup = _c_external_function( "WM_operator_props_popup", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_props_dialog_popup = _c_external_function( "WM_operator_props_dialog_popup", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("width", ctypes.c_int, 1),
- ("height", ctypes.c_int, 1),],
- ctypes.c_int )
- WM_operator_redo_popup = _c_external_function( "WM_operator_redo_popup", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_ui_popup = _c_external_function( "WM_operator_ui_popup", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("width", ctypes.c_int, 1),
- ("height", ctypes.c_int, 1),],
- ctypes.c_int )
- WM_operator_confirm_message = _c_external_function( "WM_operator_confirm_message", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("message", ctypes.c_char_p, 1),],
- ctypes.c_int )
- WM_operator_free = _c_external_function( "WM_operator_free", [
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_operator_stack_clear = _c_external_function( "WM_operator_stack_clear", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_operatortype_find = _c_external_function( "WM_operatortype_find", [
- ("idnamem", ctypes.c_char_p, 1),
- ("quiet", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_operatortype_first = _c_external_function( "WM_operatortype_first", [],
- ctypes.c_void_p )
- WM_operatortype_append = _c_external_function( "WM_operatortype_append", [
- ("opfunc", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_operatortype_append_ptr = _c_external_function( "WM_operatortype_append_ptr", [
- ("opfunc", ctypes.c_void_p, 1),
- ("userdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_operatortype_append_macro_ptr = _c_external_function( "WM_operatortype_append_macro_ptr", [
- ("opfunc", ctypes.c_void_p, 1),
- ("userdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_operatortype_remove = _c_external_function( "WM_operatortype_remove", [
- ("idname", ctypes.c_char_p, 1),],
- ctypes.c_int )
- WM_operatortype_append_macro = _c_external_function( "WM_operatortype_append_macro", [
- ("idname", ctypes.c_char_p, 1),
- ("name", ctypes.c_char_p, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_operatortype_macro_define = _c_external_function( "WM_operatortype_macro_define", [
- ("ot", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_operator_poll = _c_external_function( "WM_operator_poll", [
- ("C", ctypes.c_void_p, 1),
- ("ot", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_call = _c_external_function( "WM_operator_call", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_repeat = _c_external_function( "WM_operator_repeat", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_name_call = _c_external_function( "WM_operator_name_call", [
- ("C", ctypes.c_void_p, 1),
- ("opstring", ctypes.c_char_p, 1),
- ("context", ctypes.c_int, 1),
- ("properties", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_call_py = _c_external_function( "WM_operator_call_py", [
- ("C", ctypes.c_void_p, 1),
- ("ot", ctypes.c_void_p, 1),
- ("context", ctypes.c_int, 1),
- ("properties", ctypes.c_void_p, 1),
- ("reports", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_operator_properties_alloc = _c_external_function( "WM_operator_properties_alloc", [
- ("ptr", ctypes.c_void_p, 1),
- ("properties", ctypes.c_void_p, 1),
- ("opstring", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_operator_properties_sanitize = _c_external_function( "WM_operator_properties_sanitize", [
- ("ptr", ctypes.c_void_p, 1),
- ("val", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_operator_properties_create = _c_external_function( "WM_operator_properties_create", [
- ("ptr", ctypes.c_void_p, 1),
- ("opstring", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_operator_properties_create_ptr = _c_external_function( "WM_operator_properties_create_ptr", [
- ("ptr", ctypes.c_void_p, 1),
- ("ot", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_operator_properties_free = _c_external_function( "WM_operator_properties_free", [
- ("ptr", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_operator_properties_filesel = _c_external_function( "WM_operator_properties_filesel", [
- ("ot", ctypes.c_void_p, 1),
- ("filter", ctypes.c_int, 1),
- ("type", ctypes.c_short, 1),
- ("action", ctypes.c_short, 1),
- ("flag", ctypes.c_short, 1),],
- ctypes.c_void_p )
- WM_operator_properties_gesture_border = _c_external_function( "WM_operator_properties_gesture_border", [
- ("ot", ctypes.c_void_p, 1),
- ("extend", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_operator_properties_gesture_straightline = _c_external_function( "WM_operator_properties_gesture_straightline", [
- ("ot", ctypes.c_void_p, 1),
- ("cursor", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_operator_properties_select_all = _c_external_function( "WM_operator_properties_select_all", [
- ("ot", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_operator_pystring = _c_external_function( "WM_operator_pystring", [
- ("C", ctypes.c_void_p, 1),
- ("ot", ctypes.c_void_p, 1),
- ("opptr", ctypes.c_void_p, 1),
- ("all_args", ctypes.c_int, 1),],
- ctypes.c_char )
- WM_operator_bl_idname = _c_external_function( "WM_operator_bl_idname", [
- ("to", ctypes.c_char_p, 1),
- ("from", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_operator_py_idname = _c_external_function( "WM_operator_py_idname", [
- ("to", ctypes.c_char_p, 1),
- ("from", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- WM_menutype_find = _c_external_function( "WM_menutype_find", [
- ("idname", ctypes.c_char_p, 1),
- ("quiet", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_menutype_add = _c_external_function( "WM_menutype_add", [
- ("mt", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_menutype_freelink = _c_external_function( "WM_menutype_freelink", [
- ("mt", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_menutype_free = _c_external_function( "WM_menutype_free", [],
- ctypes.c_void_p )
- WM_border_select_invoke = _c_external_function( "WM_border_select_invoke", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_border_select_modal = _c_external_function( "WM_border_select_modal", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_gesture_circle_invoke = _c_external_function( "WM_gesture_circle_invoke", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_gesture_circle_modal = _c_external_function( "WM_gesture_circle_modal", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_gesture_lines_invoke = _c_external_function( "WM_gesture_lines_invoke", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_gesture_lines_modal = _c_external_function( "WM_gesture_lines_modal", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_gesture_lasso_invoke = _c_external_function( "WM_gesture_lasso_invoke", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_gesture_lasso_modal = _c_external_function( "WM_gesture_lasso_modal", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_gesture_straightline_invoke = _c_external_function( "WM_gesture_straightline_invoke", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_gesture_straightline_modal = _c_external_function( "WM_gesture_straightline_modal", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_OT_tweak_gesture = _c_external_function( "WM_OT_tweak_gesture", [
- ("ot", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_gesture_new = _c_external_function( "WM_gesture_new", [
- ("C", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),
- ("type", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_gesture_end = _c_external_function( "WM_gesture_end", [
- ("C", ctypes.c_void_p, 1),
- ("gesture", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_gestures_remove = _c_external_function( "WM_gestures_remove", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_radial_control_invoke = _c_external_function( "WM_radial_control_invoke", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_radial_control_modal = _c_external_function( "WM_radial_control_modal", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_int )
- WM_OT_radial_control_partial = _c_external_function( "WM_OT_radial_control_partial", [
- ("ot", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_radial_control_string = _c_external_function( "WM_radial_control_string", [
- ("op", ctypes.c_void_p, 1),
- ("str", ctypes.c_char, 1),
- ("maxlen", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_event_add_fileselect = _c_external_function( "WM_event_add_fileselect", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_event_fileselect_event = _c_external_function( "WM_event_fileselect_event", [
- ("C", ctypes.c_void_p, 1),
- ("ophandle", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("eventval", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_event_start_drag = _c_external_function( "WM_event_start_drag", [
- ("C", ctypes.c_void_p, 1),
- ("icon", ctypes.c_int, 1),
- ("type", ctypes.c_int, 1),
- ("poin", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("value", ctypes.c_double, 1),],
- ctypes.c_void_p )
- WM_event_drag_image = _c_external_function( "WM_event_drag_image", [
- ("wmDrag", ctypes.c_void_p, 1),
- ("ImBuf", ctypes.c_void_p, 1),
- ("scale", ctypes.c_float, 1),
- ("sx", ctypes.c_int, 1),
- ("sy", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_dropbox_add = _c_external_function( "WM_dropbox_add", [
- ("lb", ctypes.c_void_p, 1),
- ("idname", ctypes.c_char_p, 1),
- ("poll", ctypes.c_void_p, 1),
- ("copy", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_dropboxmap_find = _c_external_function( "WM_dropboxmap_find", [
- ("idname", ctypes.c_char_p, 1),
- ("spaceid", ctypes.c_int, 1),
- ("regionid", ctypes.c_int, 1),],
- ctypes.c_void_p )
- wmSubWindowSet = _c_external_function( "wmSubWindowSet", [
- ("win", ctypes.c_void_p, 1),
- ("swinid", ctypes.c_int, 1),],
- ctypes.c_void_p )
- wmSubWindowScissorSet = _c_external_function( "wmSubWindowScissorSet", [
- ("win", ctypes.c_void_p, 1),
- ("swinid", ctypes.c_int, 1),
- ("srct", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wmFrustum = _c_external_function( "wmFrustum", [
- ("x1", ctypes.c_float, 1),
- ("x2", ctypes.c_float, 1),
- ("y1", ctypes.c_float, 1),
- ("y2", ctypes.c_float, 1),
- ("n", ctypes.c_float, 1),
- ("f", ctypes.c_float, 1),],
- ctypes.c_void_p )
- wmOrtho = _c_external_function( "wmOrtho", [
- ("x1", ctypes.c_float, 1),
- ("x2", ctypes.c_float, 1),
- ("y1", ctypes.c_float, 1),
- ("y2", ctypes.c_float, 1),
- ("n", ctypes.c_float, 1),
- ("f", ctypes.c_float, 1),],
- ctypes.c_void_p )
- wmOrtho2 = _c_external_function( "wmOrtho2", [
- ("x1", ctypes.c_float, 1),
- ("x2", ctypes.c_float, 1),
- ("y1", ctypes.c_float, 1),
- ("y2", ctypes.c_float, 1),],
- ctypes.c_void_p )
- WM_set_framebuffer_index_color = _c_external_function( "WM_set_framebuffer_index_color", [
- ("index", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_framebuffer_to_index = _c_external_function( "WM_framebuffer_to_index", [
- ("col", ctypes.c_int, 1),],
- ctypes.c_int )
- WM_jobs_get = _c_external_function( "WM_jobs_get", [
- ("wm", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),
- ("owner", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("name", ctypes.c_char_p, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_jobs_test = _c_external_function( "WM_jobs_test", [
- ("wm", ctypes.c_void_p, 1),
- ("owner", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- WM_jobs_progress = _c_external_function( "WM_jobs_progress", [
- ("wm", ctypes.c_void_p, 1),
- ("owner", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_float )
- WM_jobs_name = _c_external_function( "WM_jobs_name", [
- ("wm", ctypes.c_void_p, 1),
- ("owner", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_char )
- WM_jobs_customdata = _c_external_function( "WM_jobs_customdata", [
- ("wmJob", ctypes.c_void_p, 1),
- ("customdata", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("free", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_jobs_timer = _c_external_function( "WM_jobs_timer", [
- ("wmJob", ctypes.c_void_p, 1),
- ("timestep", ctypes.c_double, 1),
- ("note", ctypes.c_int, 1),
- ("endnote", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_jobs_callbacks = _c_external_function( "WM_jobs_callbacks", [
- ("wmJob", ctypes.c_void_p, 1),
- ("startjob", ctypes.c_void_p, 1),
- ("initjob", ctypes.c_void_p, 1),
- ("update", ctypes.c_void_p, 1),
- ("endjob", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_jobs_start = _c_external_function( "WM_jobs_start", [
- ("wm", ctypes.c_void_p, 1),
- ("wmJob", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_jobs_stop = _c_external_function( "WM_jobs_stop", [
- ("wm", ctypes.c_void_p, 1),
- ("owner", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("startjob", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_jobs_kill = _c_external_function( "WM_jobs_kill", [
- ("wm", ctypes.c_void_p, 1),
- ("owner", ctypes.POINTER( ctypes.c_void_p ), 1),
- ("startjob", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- WM_jobs_stop_all = _c_external_function( "WM_jobs_stop_all", [
- ("wm", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- WM_clipboard_text_get = _c_external_function( "WM_clipboard_text_get", [
- ("selection", ctypes.c_int, 1),],
- ctypes.c_char )
- WM_clipboard_text_set = _c_external_function( "WM_clipboard_text_set", [
- ("buf", ctypes.c_char_p, 1),
- ("selection", ctypes.c_int, 1),],
- ctypes.c_void_p )
- WM_progress_set = _c_external_function( "WM_progress_set", [
- ("win", ctypes.c_void_p, 1),
- ("progress", ctypes.c_float, 1),],
- ctypes.c_void_p )
- WM_progress_clear = _c_external_function( "WM_progress_clear", [
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_create = _c_external_function( "RNA_create", [],
- ctypes.c_void_p )
- RNA_define_free = _c_external_function( "RNA_define_free", [
- ("brna", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_free = _c_external_function( "RNA_free", [
- ("brna", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_define_verify_sdna = _c_external_function( "RNA_define_verify_sdna", [
- ("verify", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_init = _c_external_function( "RNA_init", [],
- ctypes.c_void_p )
- RNA_exit = _c_external_function( "RNA_exit", [],
- ctypes.c_void_p )
- RNA_def_struct = _c_external_function( "RNA_def_struct", [
- ("brna", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("from", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_sdna = _c_external_function( "RNA_def_struct_sdna", [
- ("srna", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_sdna_from = _c_external_function( "RNA_def_struct_sdna_from", [
- ("srna", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_name_property = _c_external_function( "RNA_def_struct_name_property", [
- ("srna", ctypes.c_void_p, 1),
- ("prop", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_nested = _c_external_function( "RNA_def_struct_nested", [
- ("brna", ctypes.c_void_p, 1),
- ("srna", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_flag = _c_external_function( "RNA_def_struct_flag", [
- ("srna", ctypes.c_void_p, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_struct_clear_flag = _c_external_function( "RNA_def_struct_clear_flag", [
- ("srna", ctypes.c_void_p, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_struct_refine_func = _c_external_function( "RNA_def_struct_refine_func", [
- ("srna", ctypes.c_void_p, 1),
- ("refine", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_idprops_func = _c_external_function( "RNA_def_struct_idprops_func", [
- ("srna", ctypes.c_void_p, 1),
- ("refine", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_register_funcs = _c_external_function( "RNA_def_struct_register_funcs", [
- ("srna", ctypes.c_void_p, 1),
- ("reg", ctypes.c_char_p, 1),
- ("unreg", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_path_func = _c_external_function( "RNA_def_struct_path_func", [
- ("srna", ctypes.c_void_p, 1),
- ("path", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_identifier = _c_external_function( "RNA_def_struct_identifier", [
- ("srna", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_ui_text = _c_external_function( "RNA_def_struct_ui_text", [
- ("srna", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),
- ("description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_ui_icon = _c_external_function( "RNA_def_struct_ui_icon", [
- ("srna", ctypes.c_void_p, 1),
- ("icon", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_struct_free_extension = _c_external_function( "RNA_struct_free_extension", [
- ("srna", ctypes.c_void_p, 1),
- ("ext", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_struct_free = _c_external_function( "RNA_struct_free", [
- ("brna", ctypes.c_void_p, 1),
- ("srna", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #StructOrFunctionRNA <TypeDecl=void>
- RNA_def_boolean = _c_external_function( "RNA_def_boolean", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_boolean_array = _c_external_function( "RNA_def_boolean_array", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_int ), 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_boolean_layer = _c_external_function( "RNA_def_boolean_layer", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_int ), 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_boolean_layer_member = _c_external_function( "RNA_def_boolean_layer_member", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_int ), 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_boolean_vector = _c_external_function( "RNA_def_boolean_vector", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_int ), 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_int = _c_external_function( "RNA_def_int", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_int, 1),
- ("hardmin", ctypes.c_int, 1),
- ("hardmax", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_int, 1),
- ("softmax", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_int_vector = _c_external_function( "RNA_def_int_vector", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_int ), 1),
- ("hardmin", ctypes.c_int, 1),
- ("hardmax", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_int, 1),
- ("softmax", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_int_array = _c_external_function( "RNA_def_int_array", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_int ), 1),
- ("hardmin", ctypes.c_int, 1),
- ("hardmax", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_int, 1),
- ("softmax", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_string = _c_external_function( "RNA_def_string", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_char_p, 1),
- ("maxlen", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_string_file_path = _c_external_function( "RNA_def_string_file_path", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_char_p, 1),
- ("maxlen", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_string_dir_path = _c_external_function( "RNA_def_string_dir_path", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_char_p, 1),
- ("maxlen", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_string_file_name = _c_external_function( "RNA_def_string_file_name", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_char_p, 1),
- ("maxlen", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_enum = _c_external_function( "RNA_def_enum", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("items", ctypes.c_void_p, 1),
- ("default_value", ctypes.c_int, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_enum_funcs = _c_external_function( "RNA_def_enum_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("itemfunc", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_float = _c_external_function( "RNA_def_float", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_float, 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_float_vector = _c_external_function( "RNA_def_float_vector", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_float ), 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_float_vector_xyz = _c_external_function( "RNA_def_float_vector_xyz", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_float ), 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_float_color = _c_external_function( "RNA_def_float_color", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_float ), 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_float_matrix = _c_external_function( "RNA_def_float_matrix", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("rows", ctypes.c_int, 1),
- ("columns", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_float ), 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_float_rotation = _c_external_function( "RNA_def_float_rotation", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_float ), 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_float_array = _c_external_function( "RNA_def_float_array", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("len", ctypes.c_int, 1),
- ("default_value", ctypes.POINTER( ctypes.c_float ), 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_float_percentage = _c_external_function( "RNA_def_float_percentage", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_float, 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_float_factor = _c_external_function( "RNA_def_float_factor", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("default_value", ctypes.c_float, 1),
- ("hardmin", ctypes.c_float, 1),
- ("hardmax", ctypes.c_float, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),
- ("softmin", ctypes.c_float, 1),
- ("softmax", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_pointer = _c_external_function( "RNA_def_pointer", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("type", ctypes.c_char_p, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_pointer_runtime = _c_external_function( "RNA_def_pointer_runtime", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("type", ctypes.c_void_p, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_collection = _c_external_function( "RNA_def_collection", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("type", ctypes.c_char_p, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_collection_runtime = _c_external_function( "RNA_def_collection_runtime", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("type", ctypes.c_void_p, 1),
- ("ui_name", ctypes.c_char_p, 1),
- ("ui_description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property = _c_external_function( "RNA_def_property", [
- ("cont", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("type", ctypes.c_int, 1),
- ("subtype", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_boolean_sdna = _c_external_function( "RNA_def_property_boolean_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),
- ("bit", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_boolean_negative_sdna = _c_external_function( "RNA_def_property_boolean_negative_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),
- ("bit", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_int_sdna = _c_external_function( "RNA_def_property_int_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_float_sdna = _c_external_function( "RNA_def_property_float_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_string_sdna = _c_external_function( "RNA_def_property_string_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_enum_sdna = _c_external_function( "RNA_def_property_enum_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_enum_bitflag_sdna = _c_external_function( "RNA_def_property_enum_bitflag_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_pointer_sdna = _c_external_function( "RNA_def_property_pointer_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_collection_sdna = _c_external_function( "RNA_def_property_collection_sdna", [
- ("prop", ctypes.c_void_p, 1),
- ("structname", ctypes.c_char_p, 1),
- ("propname", ctypes.c_char_p, 1),
- ("lengthpropname", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_flag = _c_external_function( "RNA_def_property_flag", [
- ("prop", ctypes.c_void_p, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_clear_flag = _c_external_function( "RNA_def_property_clear_flag", [
- ("prop", ctypes.c_void_p, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_array = _c_external_function( "RNA_def_property_array", [
- ("prop", ctypes.c_void_p, 1),
- ("length", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_multi_array = _c_external_function( "RNA_def_property_multi_array", [
- ("prop", ctypes.c_void_p, 1),
- ("dimension", ctypes.c_int, 1),
- ("length", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_range = _c_external_function( "RNA_def_property_range", [
- ("prop", ctypes.c_void_p, 1),
- ("min", ctypes.c_double, 1),
- ("max", ctypes.c_double, 1),],
- ctypes.c_void_p )
- RNA_def_property_enum_items = _c_external_function( "RNA_def_property_enum_items", [
- ("prop", ctypes.c_void_p, 1),
- ("item", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_string_maxlength = _c_external_function( "RNA_def_property_string_maxlength", [
- ("prop", ctypes.c_void_p, 1),
- ("maxlength", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_struct_type = _c_external_function( "RNA_def_property_struct_type", [
- ("prop", ctypes.c_void_p, 1),
- ("type", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_struct_runtime = _c_external_function( "RNA_def_property_struct_runtime", [
- ("prop", ctypes.c_void_p, 1),
- ("type", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_boolean_default = _c_external_function( "RNA_def_property_boolean_default", [
- ("prop", ctypes.c_void_p, 1),
- ("value", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_boolean_array_default = _c_external_function( "RNA_def_property_boolean_array_default", [
- ("prop", ctypes.c_void_p, 1),
- ("array", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- RNA_def_property_int_default = _c_external_function( "RNA_def_property_int_default", [
- ("prop", ctypes.c_void_p, 1),
- ("value", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_int_array_default = _c_external_function( "RNA_def_property_int_array_default", [
- ("prop", ctypes.c_void_p, 1),
- ("array", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- RNA_def_property_float_default = _c_external_function( "RNA_def_property_float_default", [
- ("prop", ctypes.c_void_p, 1),
- ("value", ctypes.c_float, 1),],
- ctypes.c_void_p )
- RNA_def_property_float_array_default = _c_external_function( "RNA_def_property_float_array_default", [
- ("prop", ctypes.c_void_p, 1),
- ("array", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- RNA_def_property_enum_default = _c_external_function( "RNA_def_property_enum_default", [
- ("prop", ctypes.c_void_p, 1),
- ("value", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_string_default = _c_external_function( "RNA_def_property_string_default", [
- ("prop", ctypes.c_void_p, 1),
- ("value", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_ui_text = _c_external_function( "RNA_def_property_ui_text", [
- ("prop", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),
- ("description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_ui_range = _c_external_function( "RNA_def_property_ui_range", [
- ("prop", ctypes.c_void_p, 1),
- ("min", ctypes.c_double, 1),
- ("max", ctypes.c_double, 1),
- ("step", ctypes.c_double, 1),
- ("precision", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_ui_icon = _c_external_function( "RNA_def_property_ui_icon", [
- ("prop", ctypes.c_void_p, 1),
- ("icon", ctypes.c_int, 1),
- ("consecutive", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_property_update = _c_external_function( "RNA_def_property_update", [
- ("prop", ctypes.c_void_p, 1),
- ("noteflag", ctypes.c_int, 1),
- ("updatefunc", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_editable_func = _c_external_function( "RNA_def_property_editable_func", [
- ("prop", ctypes.c_void_p, 1),
- ("editable", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_editable_array_func = _c_external_function( "RNA_def_property_editable_array_func", [
- ("prop", ctypes.c_void_p, 1),
- ("editable", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_dynamic_array_funcs = _c_external_function( "RNA_def_property_dynamic_array_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("getlength", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_boolean_funcs = _c_external_function( "RNA_def_property_boolean_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("get", ctypes.c_char_p, 1),
- ("set", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_int_funcs = _c_external_function( "RNA_def_property_int_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("get", ctypes.c_char_p, 1),
- ("set", ctypes.c_char_p, 1),
- ("range", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_float_funcs = _c_external_function( "RNA_def_property_float_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("get", ctypes.c_char_p, 1),
- ("set", ctypes.c_char_p, 1),
- ("range", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_enum_funcs = _c_external_function( "RNA_def_property_enum_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("get", ctypes.c_char_p, 1),
- ("set", ctypes.c_char_p, 1),
- ("item", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_string_funcs = _c_external_function( "RNA_def_property_string_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("get", ctypes.c_char_p, 1),
- ("length", ctypes.c_char_p, 1),
- ("set", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_pointer_funcs = _c_external_function( "RNA_def_property_pointer_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("get", ctypes.c_char_p, 1),
- ("set", ctypes.c_char_p, 1),
- ("typef", ctypes.c_char_p, 1),
- ("poll", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_collection_funcs = _c_external_function( "RNA_def_property_collection_funcs", [
- ("prop", ctypes.c_void_p, 1),
- ("begin", ctypes.c_char_p, 1),
- ("next", ctypes.c_char_p, 1),
- ("end", ctypes.c_char_p, 1),
- ("get", ctypes.c_char_p, 1),
- ("length", ctypes.c_char_p, 1),
- ("lookupint", ctypes.c_char_p, 1),
- ("lookupstring", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_srna = _c_external_function( "RNA_def_property_srna", [
- ("prop", ctypes.c_void_p, 1),
- ("type", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_function = _c_external_function( "RNA_def_function", [
- ("srna", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("call", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_def_function_runtime = _c_external_function( "RNA_def_function_runtime", [
- ("srna", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),
- ("call", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_function_return = _c_external_function( "RNA_def_function_return", [
- ("func", ctypes.c_void_p, 1),
- ("ret", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_function_output = _c_external_function( "RNA_def_function_output", [
- ("func", ctypes.c_void_p, 1),
- ("ret", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_function_flag = _c_external_function( "RNA_def_function_flag", [
- ("func", ctypes.c_void_p, 1),
- ("flag", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_def_function_ui_description = _c_external_function( "RNA_def_function_ui_description", [
- ("func", ctypes.c_void_p, 1),
- ("description", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- RNA_enum_item_add = _c_external_function( "RNA_enum_item_add", [
- ("items", ctypes.c_void_p, 1),
- ("totitem", ctypes.POINTER( ctypes.c_int ), 1),
- ("item", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_enum_item_add_separator = _c_external_function( "RNA_enum_item_add_separator", [
- ("items", ctypes.c_void_p, 1),
- ("totitem", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- RNA_enum_items_add = _c_external_function( "RNA_enum_items_add", [
- ("items", ctypes.c_void_p, 1),
- ("totitem", ctypes.POINTER( ctypes.c_int ), 1),
- ("item", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_enum_items_add_value = _c_external_function( "RNA_enum_items_add_value", [
- ("items", ctypes.c_void_p, 1),
- ("totitem", ctypes.POINTER( ctypes.c_int ), 1),
- ("item", ctypes.c_void_p, 1),
- ("value", ctypes.c_int, 1),],
- ctypes.c_void_p )
- RNA_enum_item_end = _c_external_function( "RNA_enum_item_end", [
- ("items", ctypes.c_void_p, 1),
- ("totitem", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- RNA_def_struct_duplicate_pointers = _c_external_function( "RNA_def_struct_duplicate_pointers", [
- ("srna", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_struct_free_pointers = _c_external_function( "RNA_def_struct_free_pointers", [
- ("srna", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_func_duplicate_pointers = _c_external_function( "RNA_def_func_duplicate_pointers", [
- ("func", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_func_free_pointers = _c_external_function( "RNA_def_func_free_pointers", [
- ("func", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_duplicate_pointers = _c_external_function( "RNA_def_property_duplicate_pointers", [
- ("cont_", ctypes.c_void_p, 1),
- ("prop", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_free_pointers = _c_external_function( "RNA_def_property_free_pointers", [
- ("prop", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- RNA_def_property_free_identifier = _c_external_function( "RNA_def_property_free_identifier", [
- ("cont_", ctypes.c_void_p, 1),
- ("identifier", ctypes.c_char_p, 1),],
- ctypes.c_int )
- #class Image(ctypes.Structure): pass # typedef or forward reference #
- #class ImageUser(ctypes.Structure): pass # typedef or forward reference #
- #class MTFace(ctypes.Structure): pass # typedef or forward reference #
- #class Object(ctypes.Structure): pass # typedef or forward reference #
- #class Scene(ctypes.Structure): pass # typedef or forward reference #
- #class View3D(ctypes.Structure): pass # typedef or forward reference #
- #class RegionView3D(ctypes.Structure): pass # typedef or forward reference #
- #class SmokeModifierData(ctypes.Structure): pass # typedef or forward reference #
- GPU_state_init = _c_external_function( "GPU_state_init", [],
- ctypes.c_void_p )
- GPU_state_print = _c_external_function( "GPU_state_print", [],
- ctypes.c_void_p )
- GPU_begin_object_materials = _c_external_function( "GPU_begin_object_materials", [
- ("v3d", ctypes.c_void_p, 1),
- ("rv3d", ctypes.c_void_p, 1),
- ("scene", ctypes.c_void_p, 1),
- ("ob", ctypes.c_void_p, 1),
- ("glsl", ctypes.c_int, 1),
- ("do_alpha_pass", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- GPU_end_object_materials = _c_external_function( "GPU_end_object_materials", [],
- ctypes.c_void_p )
- GPU_enable_material = _c_external_function( "GPU_enable_material", [
- ("nr", ctypes.c_int, 1),
- ("attribs", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- GPU_disable_material = _c_external_function( "GPU_disable_material", [],
- ctypes.c_void_p )
- GPU_set_material_blend_mode = _c_external_function( "GPU_set_material_blend_mode", [
- ("blendmode", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_get_material_blend_mode = _c_external_function( "GPU_get_material_blend_mode", [],
- ctypes.c_int )
- GPU_set_tpage = _c_external_function( "GPU_set_tpage", [
- ("tface", ctypes.c_void_p, 1),
- ("mipmap", ctypes.c_int, 1),],
- ctypes.c_int )
- GPU_default_lights = _c_external_function( "GPU_default_lights", [],
- ctypes.c_int )
- GPU_scene_object_lights = _c_external_function( "GPU_scene_object_lights", [
- ("scene", ctypes.c_void_p, 1),
- ("ob", ctypes.c_void_p, 1),
- ("lay", ctypes.c_int, 1),
- ("viewmat", ctypes.c_float, 1),
- ("ortho", ctypes.c_int, 1),],
- ctypes.c_int )
- GPU_render_text = _c_external_function( "GPU_render_text", [
- ("tface", ctypes.c_void_p, 1),
- ("mode", ctypes.c_int, 1),
- ("textstr", ctypes.c_char_p, 1),
- ("textlen", ctypes.c_int, 1),
- ("col", ctypes.POINTER( ctypes.c_int ), 1),
- ("v1", ctypes.POINTER( ctypes.c_float ), 1),
- ("v2", ctypes.POINTER( ctypes.c_float ), 1),
- ("v3", ctypes.POINTER( ctypes.c_float ), 1),
- ("v4", ctypes.POINTER( ctypes.c_float ), 1),
- ("glattrib", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_set_mipmap = _c_external_function( "GPU_set_mipmap", [
- ("mipmap", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_set_linear_mipmap = _c_external_function( "GPU_set_linear_mipmap", [
- ("linear", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_paint_set_mipmap = _c_external_function( "GPU_paint_set_mipmap", [
- ("mipmap", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_paint_update_image = _c_external_function( "GPU_paint_update_image", [
- ("ima", ctypes.c_void_p, 1),
- ("x", ctypes.c_int, 1),
- ("y", ctypes.c_int, 1),
- ("w", ctypes.c_int, 1),
- ("h", ctypes.c_int, 1),
- ("mipmap", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_update_images_framechange = _c_external_function( "GPU_update_images_framechange", [],
- ctypes.c_void_p )
- GPU_update_image_time = _c_external_function( "GPU_update_image_time", [
- ("ima", ctypes.c_void_p, 1),
- ("time", ctypes.c_double, 1),],
- ctypes.c_int )
- GPU_verify_image = _c_external_function( "GPU_verify_image", [
- ("ima", ctypes.c_void_p, 1),
- ("iuser", ctypes.c_void_p, 1),
- ("tftile", ctypes.c_int, 1),
- ("tfmode", ctypes.c_int, 1),
- ("compare", ctypes.c_int, 1),
- ("mipmap", ctypes.c_int, 1),],
- ctypes.c_int )
- GPU_free_image = _c_external_function( "GPU_free_image", [
- ("ima", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_free_images = _c_external_function( "GPU_free_images", [],
- ctypes.c_void_p )
- GPU_free_images_anim = _c_external_function( "GPU_free_images_anim", [],
- ctypes.c_void_p )
- GPU_free_smoke = _c_external_function( "GPU_free_smoke", [
- ("smd", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_create_smoke = _c_external_function( "GPU_create_smoke", [
- ("smd", ctypes.c_void_p, 1),
- ("highres", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_free_unused_buffers = _c_external_function( "GPU_free_unused_buffers", [],
- ctypes.c_void_p )
- #class Image(ctypes.Structure): pass # typedef or forward reference #
- #class ImageUser(ctypes.Structure): pass # typedef or forward reference #
- #class GPUTexture(ctypes.Structure): pass # typedef or forward reference #
- #class GPUTexture(ctypes.Structure): pass # typedef or forward reference #
- #class GPUFrameBuffer(ctypes.Structure): pass # typedef or forward reference #
- #class GPUFrameBuffer(ctypes.Structure): pass # typedef or forward reference #
- #class GPUOffScreen(ctypes.Structure): pass # typedef or forward reference #
- #class GPUOffScreen(ctypes.Structure): pass # typedef or forward reference #
- #class GPUShader(ctypes.Structure): pass # typedef or forward reference #
- #class GPUShader(ctypes.Structure): pass # typedef or forward reference #
- GPU_extensions_disable = _c_external_function( "GPU_extensions_disable", [],
- ctypes.c_void_p )
- GPU_extensions_init = _c_external_function( "GPU_extensions_init", [],
- ctypes.c_void_p )
- GPU_extensions_exit = _c_external_function( "GPU_extensions_exit", [],
- ctypes.c_void_p )
- GPU_print_error = _c_external_function( "GPU_print_error", [
- ("str", ctypes.c_char_p, 1),],
- ctypes.c_int )
- GPU_glsl_support = _c_external_function( "GPU_glsl_support", [],
- ctypes.c_int )
- GPU_non_power_of_two_support = _c_external_function( "GPU_non_power_of_two_support", [],
- ctypes.c_int )
- GPU_color_depth = _c_external_function( "GPU_color_depth", [],
- ctypes.c_int )
- GPUDeviceType = {
- "GPU_DEVICE_NVIDIA" : 1,
- "GPU_DEVICE_ATI" : 2,
- "GPU_DEVICE_INTEL" : 4,
- "GPU_DEVICE_SOFTWARE" : 8,
- "GPU_DEVICE_UNKNOWN" : 16,
- "GPU_DEVICE_ANY" : 255,
- }
- GPUOSType = {
- "GPU_OS_WIN" : 256,
- "GPU_OS_MAC" : 512,
- "GPU_OS_UNIX" : 65536,
- "GPU_OS_ANY" : 65280,
- }
- GPUDriverType = {
- "GPU_DRIVER_OFFICIAL" : 4194304,
- "GPU_DRIVER_OPENSOURCE" : 8388608,
- "GPU_DRIVER_SOFTWARE" : 16777216,
- "GPU_DRIVER_ANY" : 16711680,
- }
- GPU_type_matches = _c_external_function( "GPU_type_matches", [
- ("device", ctypes.c_void_p, 1),
- ("os", ctypes.c_void_p, 1),
- ("driver", ctypes.c_void_p, 1),],
- ctypes.c_int )
- GPU_texture_create_1D = _c_external_function( "GPU_texture_create_1D", [
- ("w", ctypes.c_int, 1),
- ("pixels", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- GPU_texture_create_2D = _c_external_function( "GPU_texture_create_2D", [
- ("w", ctypes.c_int, 1),
- ("h", ctypes.c_int, 1),
- ("pixels", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- GPU_texture_create_3D = _c_external_function( "GPU_texture_create_3D", [
- ("w", ctypes.c_int, 1),
- ("h", ctypes.c_int, 1),
- ("depth", ctypes.c_int, 1),
- ("fpixels", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- GPU_texture_create_depth = _c_external_function( "GPU_texture_create_depth", [
- ("w", ctypes.c_int, 1),
- ("h", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_texture_from_blender = _c_external_function( "GPU_texture_from_blender", [
- ("ima", ctypes.c_void_p, 1),
- ("iuser", ctypes.c_void_p, 1),
- ("time", ctypes.c_double, 1),
- ("mipmap", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_texture_free = _c_external_function( "GPU_texture_free", [
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_texture_ref = _c_external_function( "GPU_texture_ref", [
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_texture_bind = _c_external_function( "GPU_texture_bind", [
- ("tex", ctypes.c_void_p, 1),
- ("number", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_texture_unbind = _c_external_function( "GPU_texture_unbind", [
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_texture_framebuffer = _c_external_function( "GPU_texture_framebuffer", [
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_texture_target = _c_external_function( "GPU_texture_target", [
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_int )
- GPU_texture_opengl_width = _c_external_function( "GPU_texture_opengl_width", [
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_int )
- GPU_texture_opengl_height = _c_external_function( "GPU_texture_opengl_height", [
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_int )
- GPU_framebuffer_create = _c_external_function( "GPU_framebuffer_create", [],
- ctypes.c_void_p )
- GPU_framebuffer_texture_attach = _c_external_function( "GPU_framebuffer_texture_attach", [
- ("fb", ctypes.c_void_p, 1),
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_int )
- GPU_framebuffer_texture_detach = _c_external_function( "GPU_framebuffer_texture_detach", [
- ("fb", ctypes.c_void_p, 1),
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_framebuffer_texture_bind = _c_external_function( "GPU_framebuffer_texture_bind", [
- ("fb", ctypes.c_void_p, 1),
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_framebuffer_texture_unbind = _c_external_function( "GPU_framebuffer_texture_unbind", [
- ("fb", ctypes.c_void_p, 1),
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_framebuffer_free = _c_external_function( "GPU_framebuffer_free", [
- ("fb", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_framebuffer_restore = _c_external_function( "GPU_framebuffer_restore", [],
- ctypes.c_void_p )
- GPU_offscreen_create = _c_external_function( "GPU_offscreen_create", [
- ("width", ctypes.c_int, 1),
- ("height", ctypes.c_int, 1),],
- ctypes.c_void_p )
- GPU_offscreen_free = _c_external_function( "GPU_offscreen_free", [
- ("ofs", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_offscreen_bind = _c_external_function( "GPU_offscreen_bind", [
- ("ofs", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_offscreen_unbind = _c_external_function( "GPU_offscreen_unbind", [
- ("ofs", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_shader_create = _c_external_function( "GPU_shader_create", [
- ("vertexcode", ctypes.c_char_p, 1),
- ("fragcode", ctypes.c_char_p, 1),
- ("libcode", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- GPU_shader_free = _c_external_function( "GPU_shader_free", [
- ("shader", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_shader_bind = _c_external_function( "GPU_shader_bind", [
- ("shader", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_shader_unbind = _c_external_function( "GPU_shader_unbind", [],
- ctypes.c_void_p )
- GPU_shader_get_uniform = _c_external_function( "GPU_shader_get_uniform", [
- ("shader", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_int )
- GPU_shader_uniform_vector = _c_external_function( "GPU_shader_uniform_vector", [
- ("shader", ctypes.c_void_p, 1),
- ("location", ctypes.c_int, 1),
- ("length", ctypes.c_int, 1),
- ("arraysize", ctypes.c_int, 1),
- ("value", ctypes.POINTER( ctypes.c_float ), 1),],
- ctypes.c_void_p )
- GPU_shader_uniform_texture = _c_external_function( "GPU_shader_uniform_texture", [
- ("shader", ctypes.c_void_p, 1),
- ("location", ctypes.c_int, 1),
- ("tex", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- GPU_shader_get_attribute = _c_external_function( "GPU_shader_get_attribute", [
- ("shader", ctypes.c_void_p, 1),
- ("name", ctypes.c_char_p, 1),],
- ctypes.c_int )
- class GPUVertexAttribs(ctypes.Structure): _fields_=[
- ( "layer", ctypes.c_void_p ),
- ( "totlayer", ctypes.c_int ),]
- class SYS_SystemHandle__(ctypes.Structure): _fields_=[
- ( "unused", ctypes.c_int ),]
- SYS_GetSystem = _c_external_function( "SYS_GetSystem", [],
- ctypes.c_void_p )
- SYS_DeleteSystem = _c_external_function( "SYS_DeleteSystem", [
- ("sys", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- SYS_GetCommandLineInt = _c_external_function( "SYS_GetCommandLineInt", [
- ("sys", ctypes.c_void_p, 1),
- ("paramname", ctypes.c_char_p, 1),
- ("defaultvalue", ctypes.c_int, 1),],
- ctypes.c_int )
- SYS_GetCommandLineFloat = _c_external_function( "SYS_GetCommandLineFloat", [
- ("sys", ctypes.c_void_p, 1),
- ("paramname", ctypes.c_char_p, 1),
- ("defaultvalue", ctypes.c_float, 1),],
- ctypes.c_float )
- SYS_GetCommandLineString = _c_external_function( "SYS_GetCommandLineString", [
- ("sys", ctypes.c_void_p, 1),
- ("paramname", ctypes.c_char_p, 1),
- ("defaultvalue", ctypes.c_char_p, 1),],
- ctypes.c_char )
- SYS_WriteCommandLineInt = _c_external_function( "SYS_WriteCommandLineInt", [
- ("sys", ctypes.c_void_p, 1),
- ("paramname", ctypes.c_char_p, 1),
- ("value", ctypes.c_int, 1),],
- ctypes.c_void_p )
- SYS_WriteCommandLineFloat = _c_external_function( "SYS_WriteCommandLineFloat", [
- ("sys", ctypes.c_void_p, 1),
- ("paramname", ctypes.c_char_p, 1),
- ("value", ctypes.c_float, 1),],
- ctypes.c_void_p )
- SYS_WriteCommandLineString = _c_external_function( "SYS_WriteCommandLineString", [
- ("sys", ctypes.c_void_p, 1),
- ("paramname", ctypes.c_char_p, 1),
- ("value", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- print_help = _c_external_function( "print_help", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- print_version = _c_external_function( "print_version", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- pluginapi_force_ref = _c_external_function( "pluginapi_force_ref", [],
- ctypes.c_int )
- #bprogname <TypeDecl=char>
- #btempdir <TypeDecl=char>
- setCallbacks = _c_external_function( "setCallbacks", [],
- ctypes.c_void_p )
- fpe_handler = _c_external_function( "fpe_handler", [
- ("sig", ctypes.c_int, 1),],
- ctypes.c_void_p )
- blender_esc = _c_external_function( "blender_esc", [
- ("sig", ctypes.c_int, 1),],
- ctypes.c_void_p )
- print_version = _c_external_function( "print_version", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- print_help = _c_external_function( "print_help", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- PIL_check_seconds_timer = _c_external_function( "PIL_check_seconds_timer", [],
- ctypes.c_double )
- end_arguments = _c_external_function( "end_arguments", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- enable_python = _c_external_function( "enable_python", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- disable_python = _c_external_function( "disable_python", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- background_mode = _c_external_function( "background_mode", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- debug_mode = _c_external_function( "debug_mode", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_fpe = _c_external_function( "set_fpe", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- playback_mode = _c_external_function( "playback_mode", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- prefsize = _c_external_function( "prefsize", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- with_borders = _c_external_function( "with_borders", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- without_borders = _c_external_function( "without_borders", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- register_extension = _c_external_function( "register_extension", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- no_joystick = _c_external_function( "no_joystick", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- no_glsl = _c_external_function( "no_glsl", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- no_audio = _c_external_function( "no_audio", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_audio = _c_external_function( "set_audio", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_output = _c_external_function( "set_output", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_engine = _c_external_function( "set_engine", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_image_type = _c_external_function( "set_image_type", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_threads = _c_external_function( "set_threads", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_extension = _c_external_function( "set_extension", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_ge_parameters = _c_external_function( "set_ge_parameters", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- render_frame = _c_external_function( "render_frame", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- render_animation = _c_external_function( "render_animation", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_scene = _c_external_function( "set_scene", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_start_frame = _c_external_function( "set_start_frame", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_end_frame = _c_external_function( "set_end_frame", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- set_skip_frame = _c_external_function( "set_skip_frame", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- run_python = _c_external_function( "run_python", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- run_python_console = _c_external_function( "run_python_console", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- load_file = _c_external_function( "load_file", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),
- ("data", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- setupArguments = _c_external_function( "setupArguments", [
- ("C", ctypes.c_void_p, 1),
- ("ba", ctypes.c_void_p, 1),
- ("syshandle", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- main = _c_external_function( "main", [
- ("argc", ctypes.c_int, 1),
- ("argv", ctypes.POINTER( ctypes.c_char_p ), 1),],
- ctypes.c_int )
- error_cb = _c_external_function( "error_cb", [
- ("err", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- mem_error_cb = _c_external_function( "mem_error_cb", [
- ("errorStr", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- setCallbacks = _c_external_function( "setCallbacks", [],
- ctypes.c_void_p )
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class wmEvent(ctypes.Structure): pass # typedef or forward reference #
- #class wmWindowManager(ctypes.Structure): pass # typedef or forward reference #
- #class uiLayout(ctypes.Structure): pass # typedef or forward reference #
- #class wmOperator(ctypes.Structure): pass # typedef or forward reference #
- #class ImBuf(ctypes.Structure): pass # typedef or forward reference #
- wm_init_cursor_data = _c_external_function( "wm_init_cursor_data", [],
- ctypes.c_void_p )
- #None <ast=Decl>
- class BCursor(ctypes.Structure): _fields_=[
- ( "small_bm", ctypes.c_char_p ),
- ( "small_mask", ctypes.c_char_p ),
- ( "small_sizex", ctypes.c_char ),
- ( "small_sizey", ctypes.c_char ),
- ( "small_hotx", ctypes.c_char ),
- ( "small_hoty", ctypes.c_char ),
- ( "big_bm", ctypes.c_char_p ),
- ( "big_mask", ctypes.c_char_p ),
- ( "big_sizex", ctypes.c_char ),
- ( "big_sizey", ctypes.c_char ),
- ( "big_hotx", ctypes.c_char ),
- ( "big_hoty", ctypes.c_char ),
- ( "fg_color", ctypes.c_char ),
- ( "bg_color", ctypes.c_char ),]
- #None <ast=Decl>
- #None <ast=Decl>
- #None <ast=Decl>
- wmUIHandlerFunc = _c_external_function( "wmUIHandlerFunc", [
- ("C", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),
- ("userdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_int )
- wmUIHandlerRemoveFunc = _c_external_function( "wmUIHandlerRemoveFunc", [
- ("C", ctypes.c_void_p, 1),
- ("userdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- class wmNotifier(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "wm", ctypes.c_void_p ),
- ( "window", ctypes.c_void_p ),
- ( "swinid", ctypes.c_int ),
- ( "category", ctypes.c_int ),
- ( "data", ctypes.c_int ),
- ( "subtype", ctypes.c_int ),
- ( "action", ctypes.c_int ),
- ( "reference", ctypes.POINTER( ctypes.c_void_p ) ),]
- class wmGesture(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "event_type", ctypes.c_int ),
- ( "mode", ctypes.c_int ),
- ( "type", ctypes.c_int ),
- ( "swinid", ctypes.c_int ),
- ( "points", ctypes.c_int ),
- ( "size", ctypes.c_int ),
- ( "customdata", ctypes.POINTER( ctypes.c_void_p ) ),]
- class wmEvent(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "type", ctypes.c_short ),
- ( "val", ctypes.c_short ),
- ( "x", ctypes.c_short ),
- ( "y", ctypes.c_short ),
- ( "mval", ctypes.c_short ),
- ( "unicode", ctypes.c_short ),
- ( "ascii", ctypes.c_char ),
- ( "pad", ctypes.c_char ),
- ( "prevtype", ctypes.c_short ),
- ( "prevval", ctypes.c_short ),
- ( "prevx", ctypes.c_short ),
- ( "prevy", ctypes.c_short ),
- ( "prevclicktime", ctypes.c_double ),
- ( "prevclickx", ctypes.c_short ),
- ( "prevclicky", ctypes.c_short ),
- ( "shift", ctypes.c_short ),
- ( "ctrl", ctypes.c_short ),
- ( "alt", ctypes.c_short ),
- ( "oskey", ctypes.c_short ),
- ( "keymodifier", ctypes.c_short ),
- ( "pad1", ctypes.c_short ),
- ( "keymap_idname", ctypes.c_char_p ),
- ( "custom", ctypes.c_short ),
- ( "customdatafree", ctypes.c_short ),
- ( "pad2", ctypes.c_int ),
- ( "customdata", ctypes.POINTER( ctypes.c_void_p ) ),]
- class wmTabletData(ctypes.Structure): _fields_=[
- ( "Active", ctypes.c_int ),
- ( "Pressure", ctypes.c_float ),
- ( "Xtilt", ctypes.c_float ),
- ( "Ytilt", ctypes.c_float ),]
- class wmTimer(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "win", ctypes.c_void_p ),
- ( "timestep", ctypes.c_double ),
- ( "event_type", ctypes.c_int ),
- ( "customdata", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "duration", ctypes.c_double ),
- ( "delta", ctypes.c_double ),
- ( "ltime", ctypes.c_double ),
- ( "ntime", ctypes.c_double ),
- ( "stime", ctypes.c_double ),
- ( "sleep", ctypes.c_int ),]
- class wmOperatorType(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "name", ctypes.c_char_p ),
- ( "idname", ctypes.c_char_p ),
- ( "description", ctypes.c_char_p ),
- ( "exec", ctypes.c_void_p ),
- ( "check", ctypes.c_void_p ),
- ( "invoke", ctypes.c_void_p ),
- ( "cancel", ctypes.c_void_p ),
- ( "modal", ctypes.c_void_p ),
- ( "poll", ctypes.c_void_p ),
- ( "ui", ctypes.c_void_p ),
- ( "srna", ctypes.c_void_p ),
- ( "prop", ctypes.c_void_p ),
- ( "macro", ctypes.c_void_p ),
- ( "flag", ctypes.c_short ),
- ( "modalkeymap", ctypes.c_void_p ),
- ( "pyop_data", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "pyop_poll", ctypes.c_void_p ),
- ( "ext", ctypes.c_void_p ),]
- wmPaintCursorDraw = _c_external_function( "wmPaintCursorDraw", [
- ("C", ctypes.c_void_p, 1),
- ("None", ctypes.c_int, 1),
- ("None", ctypes.c_int, 1),
- ("customdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- #None <ast=Decl>
- class wmReport(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "type", ctypes.c_int ),
- ( "typestr", ctypes.c_char_p ),
- ( "message", ctypes.c_char_p ),]
- class wmDrag(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "icon", ctypes.c_int ),
- ( "type", ctypes.c_int ),
- ( "poin", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "path", ctypes.c_char ),
- ( "value", ctypes.c_double ),
- ( "imb", ctypes.c_void_p ),
- ( "scale", ctypes.c_float ),
- ( "sx", ctypes.c_short ),
- ( "sy", ctypes.c_short ),
- ( "opname", ctypes.c_char ),]
- class wmDropBox(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "poll", ctypes.c_void_p ),
- ( "copy", ctypes.c_void_p ),
- ( "ot", ctypes.c_void_p ),
- ( "properties", ctypes.c_void_p ),
- ( "ptr", ctypes.c_void_p ),]
- class RecentFile(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "filepath", ctypes.c_char_p ),]
- #class bScreen(ctypes.Structure): pass # typedef or forward reference #
- #class wmOperator(ctypes.Structure): pass # typedef or forward reference #
- wm_ghost_init = _c_external_function( "wm_ghost_init", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_ghost_exit = _c_external_function( "wm_ghost_exit", [],
- ctypes.c_void_p )
- wm_get_screensize = _c_external_function( "wm_get_screensize", [
- ("width_r", ctypes.POINTER( ctypes.c_int ), 1),
- ("height_r", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- wm_window_new = _c_external_function( "wm_window_new", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_free = _c_external_function( "wm_window_free", [
- ("C", ctypes.c_void_p, 1),
- ("wm", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_close = _c_external_function( "wm_window_close", [
- ("C", ctypes.c_void_p, 1),
- ("wm", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_title = _c_external_function( "wm_window_title", [
- ("wm", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_add_ghostwindows = _c_external_function( "wm_window_add_ghostwindows", [
- ("C", ctypes.c_void_p, 1),
- ("wm", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_process_events = _c_external_function( "wm_window_process_events", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_process_events_nosleep = _c_external_function( "wm_window_process_events_nosleep", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_make_drawable = _c_external_function( "wm_window_make_drawable", [
- ("C", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_raise = _c_external_function( "wm_window_raise", [
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_lower = _c_external_function( "wm_window_lower", [
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_set_size = _c_external_function( "wm_window_set_size", [
- ("win", ctypes.c_void_p, 1),
- ("width", ctypes.c_int, 1),
- ("height", ctypes.c_int, 1),],
- ctypes.c_void_p )
- wm_window_get_size = _c_external_function( "wm_window_get_size", [
- ("win", ctypes.c_void_p, 1),
- ("width_r", ctypes.POINTER( ctypes.c_int ), 1),
- ("height_r", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- wm_window_get_size_ghost = _c_external_function( "wm_window_get_size_ghost", [
- ("win", ctypes.c_void_p, 1),
- ("width_r", ctypes.POINTER( ctypes.c_int ), 1),
- ("height_r", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- wm_window_get_position = _c_external_function( "wm_window_get_position", [
- ("win", ctypes.c_void_p, 1),
- ("posx_r", ctypes.POINTER( ctypes.c_int ), 1),
- ("posy_r", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- wm_window_set_title = _c_external_function( "wm_window_set_title", [
- ("win", ctypes.c_void_p, 1),
- ("title", ctypes.c_char_p, 1),],
- ctypes.c_void_p )
- wm_window_swap_buffers = _c_external_function( "wm_window_swap_buffers", [
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_get_cursor_position = _c_external_function( "wm_get_cursor_position", [
- ("win", ctypes.c_void_p, 1),
- ("x", ctypes.POINTER( ctypes.c_int ), 1),
- ("y", ctypes.POINTER( ctypes.c_int ), 1),],
- ctypes.c_void_p )
- wm_window_copy = _c_external_function( "wm_window_copy", [
- ("C", ctypes.c_void_p, 1),
- ("winorig", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_window_testbreak = _c_external_function( "wm_window_testbreak", [],
- ctypes.c_void_p )
- wm_window_duplicate_op = _c_external_function( "wm_window_duplicate_op", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_int )
- wm_window_fullscreen_toggle_op = _c_external_function( "wm_window_fullscreen_toggle_op", [
- ("C", ctypes.c_void_p, 1),
- ("op", ctypes.c_void_p, 1),],
- ctypes.c_int )
- #class ScrArea(ctypes.Structure): pass # typedef or forward reference #
- #class ARegion(ctypes.Structure): pass # typedef or forward reference #
- class wmEventHandler(ctypes.Structure): _fields_=[
- ( "next", ctypes.c_void_p ),
- ( "prev", ctypes.c_void_p ),
- ( "type", ctypes.c_int ),
- ( "flag", ctypes.c_int ),
- ( "keymap", ctypes.c_void_p ),
- ( "bblocal", ctypes.c_void_p ),
- ( "bbwin", ctypes.c_void_p ),
- ( "op", ctypes.c_void_p ),
- ( "op_area", ctypes.c_void_p ),
- ( "op_region", ctypes.c_void_p ),
- ( "ui_handle", ctypes.c_void_p ),
- ( "ui_remove", ctypes.c_void_p ),
- ( "ui_userdata", ctypes.POINTER( ctypes.c_void_p ) ),
- ( "ui_area", ctypes.c_void_p ),
- ( "ui_region", ctypes.c_void_p ),
- ( "ui_menu", ctypes.c_void_p ),
- ( "filescreen", ctypes.c_void_p ),
- ( "dropboxes", ctypes.c_void_p ),]
- #None <ast=Decl>
- wm_event_add = _c_external_function( "wm_event_add", [
- ("win", ctypes.c_void_p, 1),
- ("event_to_add", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_event_free_all = _c_external_function( "wm_event_free_all", [
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_event_free = _c_external_function( "wm_event_free", [
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_event_free_handler = _c_external_function( "wm_event_free_handler", [
- ("handler", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_event_do_handlers = _c_external_function( "wm_event_do_handlers", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_event_add_ghostevent = _c_external_function( "wm_event_add_ghostevent", [
- ("wm", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),
- ("type", ctypes.c_int, 1),
- ("time", ctypes.c_int, 1),
- ("customdata", ctypes.POINTER( ctypes.c_void_p ), 1),],
- ctypes.c_void_p )
- wm_event_do_notifiers = _c_external_function( "wm_event_do_notifiers", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_dropbox_free = _c_external_function( "wm_dropbox_free", [],
- ctypes.c_void_p )
- wm_drags_check_ops = _c_external_function( "wm_drags_check_ops", [
- ("C", ctypes.c_void_p, 1),
- ("event", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_drags_draw = _c_external_function( "wm_drags_draw", [
- ("C", ctypes.c_void_p, 1),
- ("win", ctypes.c_void_p, 1),
- ("rect", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- #class bContext(ctypes.Structure): pass # typedef or forward reference #
- #class wmWindow(ctypes.Structure): pass # typedef or forward reference #
- #class ARegion(ctypes.Structure): pass # typedef or forward reference #
- wm_draw_update = _c_external_function( "wm_draw_update", [
- ("C", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_draw_window_clear = _c_external_function( "wm_draw_window_clear", [
- ("win", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_draw_region_clear = _c_external_function( "wm_draw_region_clear", [
- ("win", ctypes.c_void_p, 1),
- ("ar", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
- wm_tag_redraw_overlay = _c_external_function( "wm_tag_redraw_overlay", [
- ("win", ctypes.c_void_p, 1),
- ("ar", ctypes.c_void_p, 1),],
- ctypes.c_void_p )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement