Advertisement
Guest User

Untitled

a guest
Jun 18th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 116.76 KB | None | 0 0
  1.  
  2. import sys
  3. if "../pypy-trunk" not in sys.path: sys.path.append( "../pypy-trunk" )
  4. from pypy.rpython.lltypesystem import lltype, rffi
  5. from pypy.rpython.tool import rffi_platform as platform
  6. from pypy.translator.tool.cbuild import ExternalCompilationInfo
  7. from pypy.rpython.annlowlevel import llhelper       # for rpy callbacks from C
  8.  
  9. ECI = ExternalCompilationInfo(
  10.     #includes = ['semaphore.h'],
  11.     #include_dirs = ['/usr/include'],
  12.     link_files = ['/usr/lib/undefined.so'],
  13.     separate_module_sources=["TODO"]        # can inject C code here
  14. )
  15. platform.verify_eci(ECI)
  16.  
  17. def _c_external_function(name, args=[], result=lltype.Void):        # if function takes void then args=[], not args=[lltype.Void]
  18.     return rffi.llexternal(name, args, result, compilation_info=eci)
  19.  
  20. fillvertbase = rffi.CStruct( fillvertbase,  )
  21. filledgebase = rffi.CStruct( filledgebase,  )
  22. fillfacebase = rffi.CStruct( fillfacebase,  )
  23. node_all_shaders = rffi.CStruct( node_all_shaders,  )
  24. node_all_composit = rffi.CStruct( node_all_composit,  )
  25. node_all_textures = rffi.CStruct( node_all_textures,  )
  26. MEM_allocN_len = _c_external_function( "MEM_allocN_len", [rffi.VOID,], lltype.Void )
  27. MEM_freeN = _c_external_function( "MEM_freeN", [rffi.VOID,], lltype.Void )
  28. MEM_testN = _c_external_function( "MEM_testN", [rffi.VOID,], lltype.Void )
  29. MEM_dupallocN = _c_external_function( "MEM_dupallocN", [rffi.VOID,], lltype.Void )
  30. MEM_reallocN = _c_external_function( "MEM_reallocN", [rffi.VOID,size_t,], lltype.Void )
  31. MEM_callocN = _c_external_function( "MEM_callocN", [size_t,rffi.CCHARP,], lltype.Void )
  32. MEM_mallocN = _c_external_function( "MEM_mallocN", [size_t,rffi.CCHARP,], lltype.Void )
  33. MEM_mapallocN = _c_external_function( "MEM_mapallocN", [size_t,rffi.CCHARP,], lltype.Void )
  34. MEM_printmemlist_pydict = _c_external_function( "MEM_printmemlist_pydict", [rffi.VOID,], lltype.Void )
  35. MEM_printmemlist = _c_external_function( "MEM_printmemlist", [rffi.VOID,], lltype.Void )
  36. MEM_callbackmemlist = _c_external_function( "MEM_callbackmemlist", [*function:func,], lltype.Void )
  37. MEM_printmemlist_stats = _c_external_function( "MEM_printmemlist_stats", [rffi.VOID,], lltype.Void )
  38. MEM_set_error_callback = _c_external_function( "MEM_set_error_callback", [*function:func,], lltype.Void )
  39. MEM_check_memory_integrity = _c_external_function( "MEM_check_memory_integrity", [rffi.VOID,], rffi.INT )
  40. MEM_set_lock_callback = _c_external_function( "MEM_set_lock_callback", [*function:lock,*function:unlock,], lltype.Void )
  41. MEM_set_memory_debug = _c_external_function( "MEM_set_memory_debug", [rffi.VOID,], lltype.Void )
  42. MEM_get_memory_in_use = _c_external_function( "MEM_get_memory_in_use", [rffi.VOID,], lltype.Void )
  43. MEM_get_mapped_memory_in_use = _c_external_function( "MEM_get_mapped_memory_in_use", [rffi.VOID,], lltype.Void )
  44. MEM_get_memory_blocks_in_use = _c_external_function( "MEM_get_memory_blocks_in_use", [rffi.VOID,], rffi.INT )
  45. MEM_reset_peak_memory = _c_external_function( "MEM_reset_peak_memory", [rffi.VOID,], lltype.Void )
  46. MEM_get_peak_memory = _c_external_function( "MEM_get_peak_memory", [rffi.VOID,], lltype.Void )
  47. BLI_argsInit = _c_external_function( "BLI_argsInit", [rffi.INT,**?,], lltype.Void )
  48. BLI_argsFree = _c_external_function( "BLI_argsFree", [*struct:bArgs,], lltype.Void )
  49. BLI_argsAdd = _c_external_function( "BLI_argsAdd", [*struct:bArgs,rffi.INT,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,BA_ArgCallback,rffi.VOID,], lltype.Void )
  50. BLI_argsAddCase = _c_external_function( "BLI_argsAddCase", [*struct:bArgs,rffi.INT,rffi.CCHARP,rffi.INT,rffi.CCHARP,rffi.INT,rffi.CCHARP,BA_ArgCallback,rffi.VOID,], lltype.Void )
  51. BLI_argsParse = _c_external_function( "BLI_argsParse", [*struct:bArgs,rffi.INT,BA_ArgCallback,rffi.VOID,], lltype.Void )
  52. BLI_argsPrintArgDoc = _c_external_function( "BLI_argsPrintArgDoc", [*struct:bArgs,rffi.CCHARP,], lltype.Void )
  53. BLI_argsPrintOtherDoc = _c_external_function( "BLI_argsPrintOtherDoc", [*struct:bArgs,], lltype.Void )
  54. BLI_argsPrint = _c_external_function( "BLI_argsPrint", [*struct:bArgs,], lltype.Void )
  55. BLI_argsArgv = _c_external_function( "BLI_argsArgv", [*struct:bArgs,], lltype.Void )
  56. BLI_threadapi_init = _c_external_function( "BLI_threadapi_init", [rffi.VOID,], lltype.Void )
  57. BLI_init_threads = _c_external_function( "BLI_init_threads", [*struct:ListBase,*function:do_thread,rffi.INT,], lltype.Void )
  58. BLI_available_threads = _c_external_function( "BLI_available_threads", [*struct:ListBase,], rffi.INT )
  59. BLI_available_thread_index = _c_external_function( "BLI_available_thread_index", [*struct:ListBase,], rffi.INT )
  60. BLI_insert_thread = _c_external_function( "BLI_insert_thread", [*struct:ListBase,rffi.VOID,], lltype.Void )
  61. BLI_remove_thread = _c_external_function( "BLI_remove_thread", [*struct:ListBase,rffi.VOID,], lltype.Void )
  62. BLI_remove_thread_index = _c_external_function( "BLI_remove_thread_index", [*struct:ListBase,rffi.INT,], lltype.Void )
  63. BLI_remove_threads = _c_external_function( "BLI_remove_threads", [*struct:ListBase,], lltype.Void )
  64. BLI_end_threads = _c_external_function( "BLI_end_threads", [*struct:ListBase,], lltype.Void )
  65. BLI_thread_is_main = _c_external_function( "BLI_thread_is_main", [rffi.VOID,], rffi.INT )
  66. BLI_system_thread_count = _c_external_function( "BLI_system_thread_count", [rffi.VOID,], rffi.INT )
  67. BLI_lock_thread = _c_external_function( "BLI_lock_thread", [rffi.INT,], lltype.Void )
  68. BLI_unlock_thread = _c_external_function( "BLI_unlock_thread", [rffi.INT,], lltype.Void )
  69. BLI_mutex_init = _c_external_function( "BLI_mutex_init", [ThreadMutex,], lltype.Void )
  70. BLI_mutex_lock = _c_external_function( "BLI_mutex_lock", [ThreadMutex,], lltype.Void )
  71. BLI_mutex_unlock = _c_external_function( "BLI_mutex_unlock", [ThreadMutex,], lltype.Void )
  72. BLI_mutex_end = _c_external_function( "BLI_mutex_end", [ThreadMutex,], lltype.Void )
  73. BLI_rw_mutex_init = _c_external_function( "BLI_rw_mutex_init", [ThreadRWMutex,], lltype.Void )
  74. BLI_rw_mutex_lock = _c_external_function( "BLI_rw_mutex_lock", [ThreadRWMutex,rffi.INT,], lltype.Void )
  75. BLI_rw_mutex_unlock = _c_external_function( "BLI_rw_mutex_unlock", [ThreadRWMutex,], lltype.Void )
  76. BLI_rw_mutex_end = _c_external_function( "BLI_rw_mutex_end", [ThreadRWMutex,], lltype.Void )
  77. BLI_create_worker = _c_external_function( "BLI_create_worker", [*function:do_thread,rffi.INT,rffi.INT,], lltype.Void )
  78. BLI_end_worker = _c_external_function( "BLI_end_worker", [*struct:ThreadedWorker,], lltype.Void )
  79. BLI_destroy_worker = _c_external_function( "BLI_destroy_worker", [*struct:ThreadedWorker,], lltype.Void )
  80. BLI_insert_work = _c_external_function( "BLI_insert_work", [*struct:ThreadedWorker,rffi.VOID,], lltype.Void )
  81. BLI_thread_queue_init = _c_external_function( "BLI_thread_queue_init", [], lltype.Void )
  82. BLI_thread_queue_free = _c_external_function( "BLI_thread_queue_free", [ThreadQueue,], lltype.Void )
  83. BLI_thread_queue_push = _c_external_function( "BLI_thread_queue_push", [ThreadQueue,rffi.VOID,], lltype.Void )
  84. BLI_thread_queue_pop = _c_external_function( "BLI_thread_queue_pop", [ThreadQueue,], lltype.Void )
  85. BLI_thread_queue_pop_timeout = _c_external_function( "BLI_thread_queue_pop_timeout", [ThreadQueue,rffi.INT,], lltype.Void )
  86. BLI_thread_queue_size = _c_external_function( "BLI_thread_queue_size", [ThreadQueue,], rffi.INT )
  87. BLI_thread_queue_nowait = _c_external_function( "BLI_thread_queue_nowait", [ThreadQueue,], lltype.Void )
  88. GEN_init_messaging_system = _c_external_function( "GEN_init_messaging_system", [rffi.VOID,], lltype.Void )
  89. addlisttolist = _c_external_function( "addlisttolist", [*struct:ListBase,*struct:ListBase,], lltype.Void )
  90. BLI_insertlink = _c_external_function( "BLI_insertlink", [*struct:ListBase,rffi.VOID,rffi.VOID,], lltype.Void )
  91. BLI_findlink = _c_external_function( "BLI_findlink", [*struct:ListBase,rffi.INT,], lltype.Void )
  92. BLI_findindex = _c_external_function( "BLI_findindex", [*struct:ListBase,rffi.VOID,], rffi.INT )
  93. BLI_findstring = _c_external_function( "BLI_findstring", [*struct:ListBase,rffi.CCHARP,rffi.INT,], lltype.Void )
  94. BLI_findstring_ptr = _c_external_function( "BLI_findstring_ptr", [*struct:ListBase,rffi.CCHARP,rffi.INT,], lltype.Void )
  95. BLI_findstringindex = _c_external_function( "BLI_findstringindex", [*struct:ListBase,rffi.CCHARP,rffi.INT,], rffi.INT )
  96. BLI_freelistN = _c_external_function( "BLI_freelistN", [*struct:ListBase,], lltype.Void )
  97. BLI_addtail = _c_external_function( "BLI_addtail", [*struct:ListBase,rffi.VOID,], lltype.Void )
  98. BLI_remlink = _c_external_function( "BLI_remlink", [*struct:ListBase,rffi.VOID,], lltype.Void )
  99. BLI_remlink_safe = _c_external_function( "BLI_remlink_safe", [*struct:ListBase,rffi.VOID,], rffi.INT )
  100. BLI_addhead = _c_external_function( "BLI_addhead", [*struct:ListBase,rffi.VOID,], lltype.Void )
  101. BLI_insertlinkbefore = _c_external_function( "BLI_insertlinkbefore", [*struct:ListBase,rffi.VOID,rffi.VOID,], lltype.Void )
  102. BLI_insertlinkafter = _c_external_function( "BLI_insertlinkafter", [*struct:ListBase,rffi.VOID,rffi.VOID,], lltype.Void )
  103. BLI_sortlist = _c_external_function( "BLI_sortlist", [*struct:ListBase,*function:cmp,], lltype.Void )
  104. BLI_freelist = _c_external_function( "BLI_freelist", [*struct:ListBase,], lltype.Void )
  105. BLI_countlist = _c_external_function( "BLI_countlist", [*struct:ListBase,], rffi.INT )
  106. BLI_freelinkN = _c_external_function( "BLI_freelinkN", [*struct:ListBase,rffi.VOID,], lltype.Void )
  107. BLI_duplicatelist = _c_external_function( "BLI_duplicatelist", [*struct:ListBase,*struct:ListBase,], lltype.Void )
  108. BLI_genericNodeN = _c_external_function( "BLI_genericNodeN", [rffi.VOID,], lltype.Void )
  109. BLI_strdup = _c_external_function( "BLI_strdup", [rffi.CCHARP,], rffi.CHAR )
  110. BLI_strdupn = _c_external_function( "BLI_strdupn", [rffi.CCHARP,rffi.INT,], rffi.CHAR )
  111. BLI_strdupcat = _c_external_function( "BLI_strdupcat", [rffi.CCHARP,rffi.CCHARP,], rffi.CHAR )
  112. BLI_strncpy = _c_external_function( "BLI_strncpy", [rffi.CCHARP,rffi.CCHARP,rffi.INT,], rffi.CHAR )
  113. BLI_getQuotedStr = _c_external_function( "BLI_getQuotedStr", [rffi.CCHARP,rffi.CCHARP,], rffi.CHAR )
  114. BLI_replacestr = _c_external_function( "BLI_replacestr", [rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], rffi.CHAR )
  115. BLI_snprintf = _c_external_function( "BLI_snprintf", [rffi.CCHARP,size_t,rffi.CCHARP,], rffi.INT )
  116. BLI_sprintfN = _c_external_function( "BLI_sprintfN", [rffi.CCHARP,], rffi.CHAR )
  117. BLI_streq = _c_external_function( "BLI_streq", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  118. BLI_strcaseeq = _c_external_function( "BLI_strcaseeq", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  119. BLI_strcasestr = _c_external_function( "BLI_strcasestr", [rffi.CCHARP,rffi.CCHARP,], rffi.CHAR )
  120. BLI_strcasecmp = _c_external_function( "BLI_strcasecmp", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  121. BLI_strncasecmp = _c_external_function( "BLI_strncasecmp", [rffi.CCHARP,rffi.CCHARP,rffi.INT,], rffi.INT )
  122. BLI_natstrcmp = _c_external_function( "BLI_natstrcmp", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  123. BLI_strnlen = _c_external_function( "BLI_strnlen", [rffi.CCHARP,size_t,], lltype.Void )
  124. BLI_timestr = _c_external_function( "BLI_timestr", [double,rffi.CCHARP,], lltype.Void )
  125. BLI_utf8_invalid_byte = _c_external_function( "BLI_utf8_invalid_byte", [rffi.CCHARP,rffi.INT,], rffi.INT )
  126. BLI_utf8_invalid_strip = _c_external_function( "BLI_utf8_invalid_strip", [rffi.CCHARP,rffi.INT,], rffi.INT )
  127. BLI_getDefaultDocumentFolder = _c_external_function( "BLI_getDefaultDocumentFolder", [rffi.VOID,], rffi.CHAR )
  128. BLI_get_folder = _c_external_function( "BLI_get_folder", [rffi.INT,rffi.CCHARP,], rffi.CHAR )
  129. BLI_get_folder_create = _c_external_function( "BLI_get_folder_create", [rffi.INT,rffi.CCHARP,], rffi.CHAR )
  130. BLI_setenv = _c_external_function( "BLI_setenv", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  131. BLI_setenv_if_new = _c_external_function( "BLI_setenv_if_new", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  132. BLI_make_file_string = _c_external_function( "BLI_make_file_string", [rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  133. BLI_make_exist = _c_external_function( "BLI_make_exist", [rffi.CCHARP,], lltype.Void )
  134. BLI_make_existing_file = _c_external_function( "BLI_make_existing_file", [rffi.CCHARP,], lltype.Void )
  135. BLI_split_dirfile = _c_external_function( "BLI_split_dirfile", [rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  136. BLI_join_dirfile = _c_external_function( "BLI_join_dirfile", [rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  137. BLI_path_basename = _c_external_function( "BLI_path_basename", [rffi.CCHARP,], rffi.CHAR )
  138. BKE_rebase_path = _c_external_function( "BKE_rebase_path", [rffi.CCHARP,rffi.INT,rffi.CCHARP,rffi.INT,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  139. BLI_getlastdir = _c_external_function( "BLI_getlastdir", [rffi.CCHARP,rffi.CCHARP,rffi.INT,], lltype.Void )
  140. BLI_testextensie = _c_external_function( "BLI_testextensie", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  141. BLI_testextensie_array = _c_external_function( "BLI_testextensie_array", [rffi.CCHARP,**?,], rffi.INT )
  142. BLI_replace_extension = _c_external_function( "BLI_replace_extension", [rffi.CCHARP,rffi.INT,rffi.CCHARP,], rffi.INT )
  143. BLI_uniquename = _c_external_function( "BLI_uniquename", [*struct:ListBase,rffi.VOID,array,rffi.CHAR,short,short,], lltype.Void )
  144. BLI_newname = _c_external_function( "BLI_newname", [rffi.CCHARP,rffi.INT,], lltype.Void )
  145. BLI_stringdec = _c_external_function( "BLI_stringdec", [rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,short,], rffi.INT )
  146. BLI_stringenc = _c_external_function( "BLI_stringenc", [rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,short,rffi.INT,], lltype.Void )
  147. BLI_splitdirstring = _c_external_function( "BLI_splitdirstring", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  148. BLI_clean = _c_external_function( "BLI_clean", [rffi.CCHARP,], lltype.Void )
  149. BLI_cleanup_file = _c_external_function( "BLI_cleanup_file", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  150. BLI_cleanup_dir = _c_external_function( "BLI_cleanup_dir", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  151. BLI_parent_dir = _c_external_function( "BLI_parent_dir", [rffi.CCHARP,], rffi.INT )
  152. BLI_has_parent = _c_external_function( "BLI_has_parent", [rffi.CCHARP,], rffi.INT )
  153. BLI_path_abs = _c_external_function( "BLI_path_abs", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  154. BLI_path_frame = _c_external_function( "BLI_path_frame", [rffi.CCHARP,rffi.INT,rffi.INT,], rffi.INT )
  155. BLI_path_frame_range = _c_external_function( "BLI_path_frame_range", [rffi.CCHARP,rffi.INT,rffi.INT,rffi.INT,], rffi.INT )
  156. BLI_path_cwd = _c_external_function( "BLI_path_cwd", [rffi.CCHARP,], rffi.INT )
  157. BLI_path_rel = _c_external_function( "BLI_path_rel", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  158. BLI_char_switch = _c_external_function( "BLI_char_switch", [rffi.CCHARP,rffi.CHAR,rffi.CHAR,], lltype.Void )
  159. BLI_where_am_i = _c_external_function( "BLI_where_am_i", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  160. get_install_dir = _c_external_function( "get_install_dir", [rffi.VOID,], rffi.CHAR )
  161. BLI_where_is_temp = _c_external_function( "BLI_where_is_temp", [rffi.CCHARP,rffi.INT,], lltype.Void )
  162. BLI_adddirstrings = _c_external_function( "BLI_adddirstrings", [rffi.VOID,], lltype.Void )
  163. BLI_builddir = _c_external_function( "BLI_builddir", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  164. BLI_compare = _c_external_function( "BLI_compare", [*struct:direntry,*struct:direntry,], rffi.INT )
  165. BLI_filesize = _c_external_function( "BLI_filesize", [rffi.INT,], lltype.Void )
  166. BLI_filepathsize = _c_external_function( "BLI_filepathsize", [rffi.CCHARP,], lltype.Void )
  167. BLI_diskfree = _c_external_function( "BLI_diskfree", [rffi.CCHARP,], lltype.Void )
  168. BLI_getwdN = _c_external_function( "BLI_getwdN", [rffi.CCHARP,], rffi.CHAR )
  169. BLI_getdir = _c_external_function( "BLI_getdir", [rffi.CCHARP,**?,], rffi.INT )
  170. BLI_exist = _c_external_function( "BLI_exist", [rffi.CCHARP,], rffi.INT )
  171. BLI_is_dir = _c_external_function( "BLI_is_dir", [rffi.CCHARP,], rffi.INT )
  172. BLI_read_file_as_lines = _c_external_function( "BLI_read_file_as_lines", [rffi.CCHARP,], lltype.Void )
  173. BLI_free_file_lines = _c_external_function( "BLI_free_file_lines", [*struct:LinkNode,], lltype.Void )
  174. BLI_file_older = _c_external_function( "BLI_file_older", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  175. BLI_recurdir_fileops = _c_external_function( "BLI_recurdir_fileops", [rffi.CCHARP,], lltype.Void )
  176. BLI_link = _c_external_function( "BLI_link", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  177. BLI_is_writable = _c_external_function( "BLI_is_writable", [rffi.CCHARP,], rffi.INT )
  178. BLI_exists = _c_external_function( "BLI_exists", [rffi.CCHARP,], rffi.INT )
  179. BLI_copy_fileops = _c_external_function( "BLI_copy_fileops", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  180. BLI_rename = _c_external_function( "BLI_rename", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  181. BLI_gzip = _c_external_function( "BLI_gzip", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  182. BLI_delete = _c_external_function( "BLI_delete", [rffi.CCHARP,rffi.INT,rffi.INT,], rffi.INT )
  183. BLI_move = _c_external_function( "BLI_move", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  184. BLI_touch = _c_external_function( "BLI_touch", [rffi.CCHARP,], rffi.INT )
  185. BLI_last_slash = _c_external_function( "BLI_last_slash", [rffi.CCHARP,], rffi.CHAR )
  186. BLI_add_slash = _c_external_function( "BLI_add_slash", [rffi.CCHARP,], rffi.INT )
  187. BLI_del_slash = _c_external_function( "BLI_del_slash", [rffi.CCHARP,], lltype.Void )
  188. first_slash = _c_external_function( "first_slash", [rffi.CCHARP,], rffi.CHAR )
  189. BLI_setCmdCallBack = _c_external_function( "BLI_setCmdCallBack", [*function:f,], lltype.Void )
  190. BLI_rcti_is_empty = _c_external_function( "BLI_rcti_is_empty", [*struct:rcti,], rffi.INT )
  191. BLI_rctf_is_empty = _c_external_function( "BLI_rctf_is_empty", [*struct:rctf,], rffi.INT )
  192. BLI_init_rctf = _c_external_function( "BLI_init_rctf", [*struct:rctf,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  193. BLI_init_rcti = _c_external_function( "BLI_init_rcti", [*struct:rcti,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  194. BLI_translate_rctf = _c_external_function( "BLI_translate_rctf", [*struct:rctf,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  195. BLI_translate_rcti = _c_external_function( "BLI_translate_rcti", [*struct:rcti,rffi.INT,rffi.INT,], lltype.Void )
  196. BLI_resize_rcti = _c_external_function( "BLI_resize_rcti", [*struct:rcti,rffi.INT,rffi.INT,], lltype.Void )
  197. BLI_resize_rctf = _c_external_function( "BLI_resize_rctf", [*struct:rctf,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  198. BLI_in_rcti = _c_external_function( "BLI_in_rcti", [*struct:rcti,rffi.INT,rffi.INT,], rffi.INT )
  199. BLI_in_rctf = _c_external_function( "BLI_in_rctf", [*struct:rctf,rffi.FLOAT,rffi.FLOAT,], rffi.INT )
  200. BLI_isect_rctf = _c_external_function( "BLI_isect_rctf", [*struct:rctf,*struct:rctf,*struct:rctf,], rffi.INT )
  201. BLI_isect_rcti = _c_external_function( "BLI_isect_rcti", [*struct:rcti,*struct:rcti,*struct:rcti,], rffi.INT )
  202. BLI_union_rctf = _c_external_function( "BLI_union_rctf", [*struct:rctf,*struct:rctf,], lltype.Void )
  203. BLI_union_rcti = _c_external_function( "BLI_union_rcti", [*struct:rcti,*struct:rcti,], lltype.Void )
  204. BLI_copy_rcti_rctf = _c_external_function( "BLI_copy_rcti_rctf", [*struct:rcti,*struct:rctf,], lltype.Void )
  205. print_rctf = _c_external_function( "print_rctf", [rffi.CCHARP,*struct:rctf,], lltype.Void )
  206. print_rcti = _c_external_function( "print_rcti", [rffi.CCHARP,*struct:rcti,], lltype.Void )
  207. BLI_addfillvert = _c_external_function( "BLI_addfillvert", [rffi.FLOAT,], lltype.Void )
  208. BLI_addfilledge = _c_external_function( "BLI_addfilledge", [*struct:EditVert,*struct:EditVert,], lltype.Void )
  209. BLI_edgefill = _c_external_function( "BLI_edgefill", [rffi.INT,rffi.INT,], rffi.INT )
  210. BLI_end_edgefill = _c_external_function( "BLI_end_edgefill", [rffi.VOID,], lltype.Void )
  211. BLI_setErrorCallBack = _c_external_function( "BLI_setErrorCallBack", [*function:f,], lltype.Void )
  212. BLI_setInterruptCallBack = _c_external_function( "BLI_setInterruptCallBack", [*function:f,], lltype.Void )
  213. BLI_hnoise = _c_external_function( "BLI_hnoise", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], rffi.FLOAT )
  214. BLI_hnoisep = _c_external_function( "BLI_hnoisep", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], rffi.FLOAT )
  215. BLI_turbulence = _c_external_function( "BLI_turbulence", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], rffi.FLOAT )
  216. BLI_turbulence1 = _c_external_function( "BLI_turbulence1", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], rffi.FLOAT )
  217. BLI_gNoise = _c_external_function( "BLI_gNoise", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,rffi.INT,], rffi.FLOAT )
  218. BLI_gTurbulence = _c_external_function( "BLI_gTurbulence", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,rffi.INT,rffi.INT,], rffi.FLOAT )
  219. mg_fBm = _c_external_function( "mg_fBm", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], rffi.FLOAT )
  220. mg_MultiFractal = _c_external_function( "mg_MultiFractal", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], rffi.FLOAT )
  221. mg_VLNoise = _c_external_function( "mg_VLNoise", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,rffi.INT,], rffi.FLOAT )
  222. mg_HeteroTerrain = _c_external_function( "mg_HeteroTerrain", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], rffi.FLOAT )
  223. mg_HybridMultiFractal = _c_external_function( "mg_HybridMultiFractal", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], rffi.FLOAT )
  224. mg_RidgedMultiFractal = _c_external_function( "mg_RidgedMultiFractal", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], rffi.FLOAT )
  225. voronoi = _c_external_function( "voronoi", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], lltype.Void )
  226. cellNoise = _c_external_function( "cellNoise", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], rffi.FLOAT )
  227. cellNoiseV = _c_external_function( "cellNoiseV", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  228. BKE_read_file = _c_external_function( "BKE_read_file", [*struct:bContext,rffi.CCHARP,rffi.VOID,*struct:ReportList,], rffi.INT )
  229. BKE_read_file_from_memory = _c_external_function( "BKE_read_file_from_memory", [*struct:bContext,rffi.CCHARP,rffi.INT,rffi.VOID,*struct:ReportList,], rffi.INT )
  230. BKE_read_file_from_memfile = _c_external_function( "BKE_read_file_from_memfile", [*struct:bContext,*struct:MemFile,*struct:ReportList,], rffi.INT )
  231. free_blender = _c_external_function( "free_blender", [rffi.VOID,], lltype.Void )
  232. initglobals = _c_external_function( "initglobals", [rffi.VOID,], lltype.Void )
  233. BKE_userdef_free = _c_external_function( "BKE_userdef_free", [rffi.VOID,], lltype.Void )
  234. set_blender_test_break_cb = _c_external_function( "set_blender_test_break_cb", [*function:func,], lltype.Void )
  235. blender_test_break = _c_external_function( "blender_test_break", [rffi.VOID,], rffi.INT )
  236. BKE_write_undo = _c_external_function( "BKE_write_undo", [*struct:bContext,rffi.CCHARP,], lltype.Void )
  237. BKE_undo_step = _c_external_function( "BKE_undo_step", [*struct:bContext,rffi.INT,], lltype.Void )
  238. BKE_undo_name = _c_external_function( "BKE_undo_name", [*struct:bContext,rffi.CCHARP,], lltype.Void )
  239. BKE_reset_undo = _c_external_function( "BKE_reset_undo", [rffi.VOID,], lltype.Void )
  240. BKE_undo_menu_string = _c_external_function( "BKE_undo_menu_string", [rffi.VOID,], rffi.CHAR )
  241. BKE_undo_number = _c_external_function( "BKE_undo_number", [*struct:bContext,rffi.INT,], lltype.Void )
  242. BKE_undo_save_quit = _c_external_function( "BKE_undo_save_quit", [rffi.VOID,], lltype.Void )
  243. BKE_undo_get_main = _c_external_function( "BKE_undo_get_main", [**?,], lltype.Void )
  244. CTX_create = _c_external_function( "CTX_create", [rffi.VOID,], lltype.Void )
  245. CTX_free = _c_external_function( "CTX_free", [bContext,], lltype.Void )
  246. CTX_copy = _c_external_function( "CTX_copy", [bContext,], lltype.Void )
  247. CTX_store_add = _c_external_function( "CTX_store_add", [ListBase,rffi.CCHARP,PointerRNA,], lltype.Void )
  248. CTX_store_set = _c_external_function( "CTX_store_set", [bContext,bContextStore,], lltype.Void )
  249. CTX_store_copy = _c_external_function( "CTX_store_copy", [bContextStore,], lltype.Void )
  250. CTX_store_free = _c_external_function( "CTX_store_free", [bContextStore,], lltype.Void )
  251. CTX_store_free_list = _c_external_function( "CTX_store_free_list", [ListBase,], lltype.Void )
  252. CTX_py_init_get = _c_external_function( "CTX_py_init_get", [bContext,], rffi.INT )
  253. CTX_py_init_set = _c_external_function( "CTX_py_init_set", [bContext,rffi.INT,], lltype.Void )
  254. CTX_py_dict_get = _c_external_function( "CTX_py_dict_get", [bContext,], lltype.Void )
  255. CTX_py_dict_set = _c_external_function( "CTX_py_dict_set", [bContext,rffi.VOID,], lltype.Void )
  256. CTX_wm_manager = _c_external_function( "CTX_wm_manager", [bContext,], lltype.Void )
  257. CTX_wm_window = _c_external_function( "CTX_wm_window", [bContext,], lltype.Void )
  258. CTX_wm_screen = _c_external_function( "CTX_wm_screen", [bContext,], lltype.Void )
  259. CTX_wm_area = _c_external_function( "CTX_wm_area", [bContext,], lltype.Void )
  260. CTX_wm_space_data = _c_external_function( "CTX_wm_space_data", [bContext,], lltype.Void )
  261. CTX_wm_region = _c_external_function( "CTX_wm_region", [bContext,], lltype.Void )
  262. CTX_wm_region_data = _c_external_function( "CTX_wm_region_data", [bContext,], lltype.Void )
  263. CTX_wm_menu = _c_external_function( "CTX_wm_menu", [bContext,], lltype.Void )
  264. CTX_wm_reports = _c_external_function( "CTX_wm_reports", [bContext,], lltype.Void )
  265. CTX_wm_view3d = _c_external_function( "CTX_wm_view3d", [bContext,], lltype.Void )
  266. CTX_wm_region_view3d = _c_external_function( "CTX_wm_region_view3d", [bContext,], lltype.Void )
  267. CTX_wm_space_text = _c_external_function( "CTX_wm_space_text", [bContext,], lltype.Void )
  268. CTX_wm_space_image = _c_external_function( "CTX_wm_space_image", [bContext,], lltype.Void )
  269. CTX_wm_space_console = _c_external_function( "CTX_wm_space_console", [bContext,], lltype.Void )
  270. CTX_wm_space_buts = _c_external_function( "CTX_wm_space_buts", [bContext,], lltype.Void )
  271. CTX_wm_space_file = _c_external_function( "CTX_wm_space_file", [bContext,], lltype.Void )
  272. CTX_wm_space_seq = _c_external_function( "CTX_wm_space_seq", [bContext,], lltype.Void )
  273. CTX_wm_space_outliner = _c_external_function( "CTX_wm_space_outliner", [bContext,], lltype.Void )
  274. CTX_wm_space_nla = _c_external_function( "CTX_wm_space_nla", [bContext,], lltype.Void )
  275. CTX_wm_space_time = _c_external_function( "CTX_wm_space_time", [bContext,], lltype.Void )
  276. CTX_wm_space_node = _c_external_function( "CTX_wm_space_node", [bContext,], lltype.Void )
  277. CTX_wm_space_logic = _c_external_function( "CTX_wm_space_logic", [bContext,], lltype.Void )
  278. CTX_wm_space_graph = _c_external_function( "CTX_wm_space_graph", [bContext,], lltype.Void )
  279. CTX_wm_space_action = _c_external_function( "CTX_wm_space_action", [bContext,], lltype.Void )
  280. CTX_wm_space_info = _c_external_function( "CTX_wm_space_info", [bContext,], lltype.Void )
  281. CTX_wm_space_userpref = _c_external_function( "CTX_wm_space_userpref", [bContext,], lltype.Void )
  282. CTX_wm_manager_set = _c_external_function( "CTX_wm_manager_set", [bContext,*struct:wmWindowManager,], lltype.Void )
  283. CTX_wm_window_set = _c_external_function( "CTX_wm_window_set", [bContext,*struct:wmWindow,], lltype.Void )
  284. CTX_wm_screen_set = _c_external_function( "CTX_wm_screen_set", [bContext,*struct:bScreen,], lltype.Void )
  285. CTX_wm_area_set = _c_external_function( "CTX_wm_area_set", [bContext,*struct:ScrArea,], lltype.Void )
  286. CTX_wm_region_set = _c_external_function( "CTX_wm_region_set", [bContext,*struct:ARegion,], lltype.Void )
  287. CTX_wm_menu_set = _c_external_function( "CTX_wm_menu_set", [bContext,*struct:ARegion,], lltype.Void )
  288. CTX_data_pointer_get = _c_external_function( "CTX_data_pointer_get", [bContext,rffi.CCHARP,], lltype.Void )
  289. CTX_data_pointer_get_type = _c_external_function( "CTX_data_pointer_get_type", [bContext,rffi.CCHARP,StructRNA,], lltype.Void )
  290. CTX_data_collection_get = _c_external_function( "CTX_data_collection_get", [bContext,rffi.CCHARP,], lltype.Void )
  291. CTX_data_dir_get = _c_external_function( "CTX_data_dir_get", [bContext,], lltype.Void )
  292. CTX_data_get = _c_external_function( "CTX_data_get", [bContext,rffi.CCHARP,PointerRNA,ListBase,short,], rffi.INT )
  293. CTX_data_id_pointer_set = _c_external_function( "CTX_data_id_pointer_set", [bContextDataResult,*struct:ID,], lltype.Void )
  294. CTX_data_pointer_set = _c_external_function( "CTX_data_pointer_set", [bContextDataResult,*struct:ID,StructRNA,rffi.VOID,], lltype.Void )
  295. CTX_data_id_list_add = _c_external_function( "CTX_data_id_list_add", [bContextDataResult,*struct:ID,], lltype.Void )
  296. CTX_data_list_add = _c_external_function( "CTX_data_list_add", [bContextDataResult,*struct:ID,StructRNA,rffi.VOID,], lltype.Void )
  297. CTX_data_dir_set = _c_external_function( "CTX_data_dir_set", [bContextDataResult,**?,], lltype.Void )
  298. CTX_data_type_set = _c_external_function( "CTX_data_type_set", [*struct:bContextDataResult,short,], lltype.Void )
  299. CTX_data_type_get = _c_external_function( "CTX_data_type_get", [*struct:bContextDataResult,], lltype.Void )
  300. CTX_data_equals = _c_external_function( "CTX_data_equals", [rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  301. CTX_data_dir = _c_external_function( "CTX_data_dir", [rffi.CCHARP,], rffi.INT )
  302. ctx_data_list_count = _c_external_function( "ctx_data_list_count", [bContext,*function:func,], rffi.INT )
  303. CTX_data_main = _c_external_function( "CTX_data_main", [bContext,], lltype.Void )
  304. CTX_data_scene = _c_external_function( "CTX_data_scene", [bContext,], lltype.Void )
  305. CTX_data_tool_settings = _c_external_function( "CTX_data_tool_settings", [bContext,], lltype.Void )
  306. CTX_data_mode_string = _c_external_function( "CTX_data_mode_string", [bContext,], rffi.CHAR )
  307. CTX_data_mode_enum = _c_external_function( "CTX_data_mode_enum", [bContext,], rffi.INT )
  308. CTX_data_main_set = _c_external_function( "CTX_data_main_set", [bContext,*struct:Main,], lltype.Void )
  309. CTX_data_scene_set = _c_external_function( "CTX_data_scene_set", [bContext,*struct:Scene,], lltype.Void )
  310. CTX_data_selected_editable_objects = _c_external_function( "CTX_data_selected_editable_objects", [bContext,ListBase,], rffi.INT )
  311. CTX_data_selected_editable_bases = _c_external_function( "CTX_data_selected_editable_bases", [bContext,ListBase,], rffi.INT )
  312. CTX_data_selected_objects = _c_external_function( "CTX_data_selected_objects", [bContext,ListBase,], rffi.INT )
  313. CTX_data_selected_bases = _c_external_function( "CTX_data_selected_bases", [bContext,ListBase,], rffi.INT )
  314. CTX_data_visible_objects = _c_external_function( "CTX_data_visible_objects", [bContext,ListBase,], rffi.INT )
  315. CTX_data_visible_bases = _c_external_function( "CTX_data_visible_bases", [bContext,ListBase,], rffi.INT )
  316. CTX_data_selectable_objects = _c_external_function( "CTX_data_selectable_objects", [bContext,ListBase,], rffi.INT )
  317. CTX_data_selectable_bases = _c_external_function( "CTX_data_selectable_bases", [bContext,ListBase,], rffi.INT )
  318. CTX_data_active_object = _c_external_function( "CTX_data_active_object", [bContext,], lltype.Void )
  319. CTX_data_active_base = _c_external_function( "CTX_data_active_base", [bContext,], lltype.Void )
  320. CTX_data_edit_object = _c_external_function( "CTX_data_edit_object", [bContext,], lltype.Void )
  321. CTX_data_edit_image = _c_external_function( "CTX_data_edit_image", [bContext,], lltype.Void )
  322. CTX_data_edit_text = _c_external_function( "CTX_data_edit_text", [bContext,], lltype.Void )
  323. CTX_data_selected_nodes = _c_external_function( "CTX_data_selected_nodes", [bContext,ListBase,], rffi.INT )
  324. CTX_data_active_bone = _c_external_function( "CTX_data_active_bone", [bContext,], lltype.Void )
  325. CTX_data_selected_bones = _c_external_function( "CTX_data_selected_bones", [bContext,ListBase,], rffi.INT )
  326. CTX_data_selected_editable_bones = _c_external_function( "CTX_data_selected_editable_bones", [bContext,ListBase,], rffi.INT )
  327. CTX_data_visible_bones = _c_external_function( "CTX_data_visible_bones", [bContext,ListBase,], rffi.INT )
  328. CTX_data_editable_bones = _c_external_function( "CTX_data_editable_bones", [bContext,ListBase,], rffi.INT )
  329. CTX_data_active_pose_bone = _c_external_function( "CTX_data_active_pose_bone", [bContext,], lltype.Void )
  330. CTX_data_selected_pose_bones = _c_external_function( "CTX_data_selected_pose_bones", [bContext,ListBase,], rffi.INT )
  331. CTX_data_visible_pose_bones = _c_external_function( "CTX_data_visible_pose_bones", [bContext,ListBase,], rffi.INT )
  332. BKE_font_register_builtin = _c_external_function( "BKE_font_register_builtin", [rffi.VOID,rffi.INT,], lltype.Void )
  333. free_vfont = _c_external_function( "free_vfont", [*struct:VFont,], lltype.Void )
  334. free_ttfont = _c_external_function( "free_ttfont", [rffi.VOID,], lltype.Void )
  335. get_builtin_font = _c_external_function( "get_builtin_font", [rffi.VOID,], lltype.Void )
  336. load_vfont = _c_external_function( "load_vfont", [rffi.CCHARP,], lltype.Void )
  337. vfont_find_tmpfont = _c_external_function( "vfont_find_tmpfont", [*struct:VFont,], lltype.Void )
  338. BKE_text_to_curve = _c_external_function( "BKE_text_to_curve", [*struct:Scene,*struct:Object,rffi.INT,], lltype.Void )
  339. BKE_font_getselection = _c_external_function( "BKE_font_getselection", [*struct:Object,rffi.INT,rffi.INT,], rffi.INT )
  340. chtoutf8 = _c_external_function( "chtoutf8", [long,rffi.CCHARP,], lltype.Void )
  341. wcs2utf8s = _c_external_function( "wcs2utf8s", [rffi.CCHARP,wchar_t,], lltype.Void )
  342. wcsleninu8 = _c_external_function( "wcsleninu8", [wchar_t,], rffi.INT )
  343. utf8towchar = _c_external_function( "utf8towchar", [wchar_t,rffi.CCHARP,], rffi.INT )
  344. init_def_material = _c_external_function( "init_def_material", [rffi.VOID,], lltype.Void )
  345. free_material = _c_external_function( "free_material", [*struct:Material,], lltype.Void )
  346. test_object_materials = _c_external_function( "test_object_materials", [*struct:ID,], lltype.Void )
  347. init_material = _c_external_function( "init_material", [*struct:Material,], lltype.Void )
  348. add_material = _c_external_function( "add_material", [rffi.CCHARP,], lltype.Void )
  349. copy_material = _c_external_function( "copy_material", [*struct:Material,], lltype.Void )
  350. give_node_material = _c_external_function( "give_node_material", [*struct:Material,], lltype.Void )
  351. make_local_material = _c_external_function( "make_local_material", [*struct:Material,], lltype.Void )
  352. automatname = _c_external_function( "automatname", [TODO typename pointer,], lltype.Void )
  353. give_matarar = _c_external_function( "give_matarar", [*struct:Object,], lltype.Void )
  354. give_totcolp = _c_external_function( "give_totcolp", [*struct:Object,], lltype.Void )
  355. give_matarar_id = _c_external_function( "give_matarar_id", [*struct:ID,], lltype.Void )
  356. give_totcolp_id = _c_external_function( "give_totcolp_id", [*struct:ID,], lltype.Void )
  357. give_current_material = _c_external_function( "give_current_material", [*struct:Object,rffi.INT,], lltype.Void )
  358. material_from = _c_external_function( "material_from", [*struct:Object,rffi.INT,], lltype.Void )
  359. assign_material = _c_external_function( "assign_material", [*struct:Object,*struct:Material,rffi.INT,], lltype.Void )
  360. assign_matarar = _c_external_function( "assign_matarar", [*struct:Object,**?,rffi.INT,], lltype.Void )
  361. find_material_index = _c_external_function( "find_material_index", [*struct:Object,*struct:Material,], rffi.INT )
  362. object_add_material_slot = _c_external_function( "object_add_material_slot", [*struct:Object,], rffi.INT )
  363. object_remove_material_slot = _c_external_function( "object_remove_material_slot", [*struct:Object,], rffi.INT )
  364. material_append_id = _c_external_function( "material_append_id", [*struct:ID,*struct:Material,], lltype.Void )
  365. material_pop_id = _c_external_function( "material_pop_id", [*struct:ID,rffi.INT,], lltype.Void )
  366. init_render_material = _c_external_function( "init_render_material", [TODO typename pointer,rffi.INT,TODO typename pointer,], lltype.Void )
  367. init_render_materials = _c_external_function( "init_render_materials", [TODO typename pointer,rffi.INT,TODO typename pointer,], lltype.Void )
  368. end_render_material = _c_external_function( "end_render_material", [TODO typename pointer,], lltype.Void )
  369. end_render_materials = _c_external_function( "end_render_materials", [TODO typename pointer,], lltype.Void )
  370. material_in_material = _c_external_function( "material_in_material", [*struct:Material,*struct:Material,], rffi.INT )
  371. ramp_blend = _c_external_function( "ramp_blend", [rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  372. clear_matcopybuf = _c_external_function( "clear_matcopybuf", [rffi.VOID,], lltype.Void )
  373. free_matcopybuf = _c_external_function( "free_matcopybuf", [rffi.VOID,], lltype.Void )
  374. copy_matcopybuf = _c_external_function( "copy_matcopybuf", [*struct:Material,], lltype.Void )
  375. paste_matcopybuf = _c_external_function( "paste_matcopybuf", [*struct:Material,], lltype.Void )
  376. clear_mat_mtex_copybuf = _c_external_function( "clear_mat_mtex_copybuf", [rffi.VOID,], lltype.Void )
  377. copy_mat_mtex_copybuf = _c_external_function( "copy_mat_mtex_copybuf", [*struct:ID,], lltype.Void )
  378. paste_mat_mtex_copybuf = _c_external_function( "paste_mat_mtex_copybuf", [*struct:ID,], lltype.Void )
  379. newPackedFile = _c_external_function( "newPackedFile", [*struct:ReportList,rffi.CCHARP,], lltype.Void )
  380. newPackedFileMemory = _c_external_function( "newPackedFileMemory", [rffi.VOID,rffi.INT,], lltype.Void )
  381. packAll = _c_external_function( "packAll", [*struct:Main,*struct:ReportList,], lltype.Void )
  382. unpackFile = _c_external_function( "unpackFile", [*struct:ReportList,rffi.CCHARP,rffi.CCHARP,*struct:PackedFile,rffi.INT,], rffi.CHAR )
  383. unpackVFont = _c_external_function( "unpackVFont", [*struct:ReportList,*struct:VFont,rffi.INT,], rffi.INT )
  384. unpackSound = _c_external_function( "unpackSound", [*struct:ReportList,*struct:bSound,rffi.INT,], rffi.INT )
  385. unpackImage = _c_external_function( "unpackImage", [*struct:ReportList,*struct:Image,rffi.INT,], rffi.INT )
  386. unpackAll = _c_external_function( "unpackAll", [*struct:Main,*struct:ReportList,rffi.INT,], lltype.Void )
  387. writePackedFile = _c_external_function( "writePackedFile", [*struct:ReportList,rffi.CCHARP,*struct:PackedFile,rffi.INT,], rffi.INT )
  388. freePackedFile = _c_external_function( "freePackedFile", [*struct:PackedFile,], lltype.Void )
  389. countPackedFiles = _c_external_function( "countPackedFiles", [*struct:Main,], rffi.INT )
  390. checkPackedFile = _c_external_function( "checkPackedFile", [rffi.CCHARP,*struct:PackedFile,], rffi.INT )
  391. seekPackedFile = _c_external_function( "seekPackedFile", [*struct:PackedFile,rffi.INT,rffi.INT,], rffi.INT )
  392. rewindPackedFile = _c_external_function( "rewindPackedFile", [*struct:PackedFile,], lltype.Void )
  393. readPackedFile = _c_external_function( "readPackedFile", [*struct:PackedFile,rffi.VOID,rffi.INT,], rffi.INT )
  394. _setlooper_base_step = _c_external_function( "_setlooper_base_step", [**?,*struct:Base,], lltype.Void )
  395. free_avicodecdata = _c_external_function( "free_avicodecdata", [*struct:AviCodecData,], lltype.Void )
  396. free_qtcodecdata = _c_external_function( "free_qtcodecdata", [*struct:QuicktimeCodecData,], lltype.Void )
  397. free_scene = _c_external_function( "free_scene", [*struct:Scene,], lltype.Void )
  398. add_scene = _c_external_function( "add_scene", [rffi.CCHARP,], lltype.Void )
  399. object_in_scene = _c_external_function( "object_in_scene", [*struct:Object,*struct:Scene,], lltype.Void )
  400. set_scene_bg = _c_external_function( "set_scene_bg", [*struct:Main,*struct:Scene,], lltype.Void )
  401. set_scene_name = _c_external_function( "set_scene_name", [*struct:Main,rffi.CCHARP,], lltype.Void )
  402. copy_scene = _c_external_function( "copy_scene", [*struct:Main,*struct:Scene,rffi.INT,], lltype.Void )
  403. unlink_scene = _c_external_function( "unlink_scene", [*struct:Main,*struct:Scene,*struct:Scene,], lltype.Void )
  404. next_object = _c_external_function( "next_object", [**?,rffi.INT,**?,**?,], rffi.INT )
  405. scene_find_camera = _c_external_function( "scene_find_camera", [*struct:Scene,], lltype.Void )
  406. scene_camera_switch_find = _c_external_function( "scene_camera_switch_find", [*struct:Scene,], lltype.Void )
  407. scene_camera_switch_update = _c_external_function( "scene_camera_switch_update", [*struct:Scene,], rffi.INT )
  408. scene_find_marker_name = _c_external_function( "scene_find_marker_name", [*struct:Scene,rffi.INT,], rffi.CHAR )
  409. scene_find_last_marker_name = _c_external_function( "scene_find_last_marker_name", [*struct:Scene,rffi.INT,], rffi.CHAR )
  410. scene_marker_tfm_translate = _c_external_function( "scene_marker_tfm_translate", [*struct:Scene,rffi.INT,rffi.INT,], rffi.INT )
  411. scene_marker_tfm_extend = _c_external_function( "scene_marker_tfm_extend", [*struct:Scene,rffi.INT,rffi.INT,rffi.INT,rffi.CHAR,], rffi.INT )
  412. scene_add_base = _c_external_function( "scene_add_base", [*struct:Scene,*struct:Object,], lltype.Void )
  413. scene_deselect_all = _c_external_function( "scene_deselect_all", [*struct:Scene,], lltype.Void )
  414. scene_select_base = _c_external_function( "scene_select_base", [*struct:Scene,*struct:Base,], lltype.Void )
  415. scene_check_setscene = _c_external_function( "scene_check_setscene", [*struct:Main,*struct:Scene,], rffi.INT )
  416. BKE_curframe = _c_external_function( "BKE_curframe", [*struct:Scene,], rffi.FLOAT )
  417. scene_update_tagged = _c_external_function( "scene_update_tagged", [*struct:Main,*struct:Scene,], lltype.Void )
  418. scene_update_for_newframe = _c_external_function( "scene_update_for_newframe", [*struct:Main,*struct:Scene,rffi.INT,], lltype.Void )
  419. scene_add_render_layer = _c_external_function( "scene_add_render_layer", [*struct:Scene,], lltype.Void )
  420. get_render_subsurf_level = _c_external_function( "get_render_subsurf_level", [*struct:RenderData,rffi.INT,], rffi.INT )
  421. get_render_child_particle_number = _c_external_function( "get_render_child_particle_number", [*struct:RenderData,rffi.INT,], rffi.INT )
  422. get_render_shadow_samples = _c_external_function( "get_render_shadow_samples", [*struct:RenderData,rffi.INT,], rffi.INT )
  423. get_render_aosss_error = _c_external_function( "get_render_aosss_error", [*struct:RenderData,rffi.FLOAT,], rffi.FLOAT )
  424. ntreeVerifyTypes = _c_external_function( "ntreeVerifyTypes", [*struct:bNodeTree,], lltype.Void )
  425. ntreeAddTree = _c_external_function( "ntreeAddTree", [rffi.INT,], lltype.Void )
  426. ntreeInitTypes = _c_external_function( "ntreeInitTypes", [*struct:bNodeTree,], lltype.Void )
  427. ntreeMakeOwnType = _c_external_function( "ntreeMakeOwnType", [*struct:bNodeTree,], lltype.Void )
  428. ntreeUpdateType = _c_external_function( "ntreeUpdateType", [*struct:bNodeTree,*struct:bNodeType,], lltype.Void )
  429. ntreeFreeTree = _c_external_function( "ntreeFreeTree", [*struct:bNodeTree,], lltype.Void )
  430. ntreeCopyTree = _c_external_function( "ntreeCopyTree", [*struct:bNodeTree,rffi.INT,], lltype.Void )
  431. ntreeSwitchID = _c_external_function( "ntreeSwitchID", [*struct:bNodeTree,*struct:ID,*struct:ID,], lltype.Void )
  432. ntreeMakeLocal = _c_external_function( "ntreeMakeLocal", [*struct:bNodeTree,], lltype.Void )
  433. ntreeSocketUseFlags = _c_external_function( "ntreeSocketUseFlags", [*struct:bNodeTree,], lltype.Void )
  434. ntreeSolveOrder = _c_external_function( "ntreeSolveOrder", [*struct:bNodeTree,], lltype.Void )
  435. ntreeBeginExecTree = _c_external_function( "ntreeBeginExecTree", [*struct:bNodeTree,], lltype.Void )
  436. ntreeExecTree = _c_external_function( "ntreeExecTree", [*struct:bNodeTree,rffi.VOID,rffi.INT,], lltype.Void )
  437. ntreeCompositExecTree = _c_external_function( "ntreeCompositExecTree", [*struct:bNodeTree,*struct:RenderData,rffi.INT,], lltype.Void )
  438. ntreeEndExecTree = _c_external_function( "ntreeEndExecTree", [*struct:bNodeTree,], lltype.Void )
  439. ntreeInitPreview = _c_external_function( "ntreeInitPreview", [TODO typename pointer,rffi.INT,rffi.INT,], lltype.Void )
  440. ntreeClearPreview = _c_external_function( "ntreeClearPreview", [*struct:bNodeTree,], lltype.Void )
  441. ntreeFreeCache = _c_external_function( "ntreeFreeCache", [*struct:bNodeTree,], lltype.Void )
  442. ntreeLocalize = _c_external_function( "ntreeLocalize", [*struct:bNodeTree,], lltype.Void )
  443. ntreeLocalSync = _c_external_function( "ntreeLocalSync", [*struct:bNodeTree,*struct:bNodeTree,], lltype.Void )
  444. ntreeLocalMerge = _c_external_function( "ntreeLocalMerge", [*struct:bNodeTree,*struct:bNodeTree,], lltype.Void )
  445. nodeVerifyType = _c_external_function( "nodeVerifyType", [*struct:bNodeTree,*struct:bNode,], lltype.Void )
  446. nodeAddToPreview = _c_external_function( "nodeAddToPreview", [TODO typename pointer,TODO typename pointer,rffi.INT,rffi.INT,], lltype.Void )
  447. nodeUnlinkNode = _c_external_function( "nodeUnlinkNode", [*struct:bNodeTree,*struct:bNode,], lltype.Void )
  448. nodeUniqueName = _c_external_function( "nodeUniqueName", [*struct:bNodeTree,*struct:bNode,], lltype.Void )
  449. nodeAddSockets = _c_external_function( "nodeAddSockets", [*struct:bNode,*struct:bNodeType,], lltype.Void )
  450. nodeAddNodeType = _c_external_function( "nodeAddNodeType", [*struct:bNodeTree,rffi.INT,*struct:bNodeTree,*struct:ID,], lltype.Void )
  451. nodeRegisterType = _c_external_function( "nodeRegisterType", [*struct:ListBase,*struct:bNodeType,], lltype.Void )
  452. nodeUpdateType = _c_external_function( "nodeUpdateType", [*struct:bNodeTree,*struct:bNode,*struct:bNodeType,], lltype.Void )
  453. nodeMakeDynamicType = _c_external_function( "nodeMakeDynamicType", [*struct:bNode,], lltype.Void )
  454. nodeDynamicUnlinkText = _c_external_function( "nodeDynamicUnlinkText", [*struct:ID,], rffi.INT )
  455. nodeFreeNode = _c_external_function( "nodeFreeNode", [*struct:bNodeTree,*struct:bNode,], lltype.Void )
  456. nodeCopyNode = _c_external_function( "nodeCopyNode", [*struct:bNodeTree,*struct:bNode,rffi.INT,], lltype.Void )
  457. nodeAddLink = _c_external_function( "nodeAddLink", [*struct:bNodeTree,*struct:bNode,*struct:bNodeSocket,*struct:bNode,*struct:bNodeSocket,], lltype.Void )
  458. nodeRemLink = _c_external_function( "nodeRemLink", [*struct:bNodeTree,*struct:bNodeLink,], lltype.Void )
  459. nodeRemSocketLinks = _c_external_function( "nodeRemSocketLinks", [*struct:bNodeTree,*struct:bNodeSocket,], lltype.Void )
  460. nodeFindNodebyName = _c_external_function( "nodeFindNodebyName", [*struct:bNodeTree,rffi.CCHARP,], lltype.Void )
  461. nodeFindNode = _c_external_function( "nodeFindNode", [*struct:bNodeTree,*struct:bNodeSocket,**?,rffi.INT,], rffi.INT )
  462. nodeFindLink = _c_external_function( "nodeFindLink", [*struct:bNodeTree,*struct:bNodeSocket,*struct:bNodeSocket,], lltype.Void )
  463. nodeCountSocketLinks = _c_external_function( "nodeCountSocketLinks", [*struct:bNodeTree,*struct:bNodeSocket,], rffi.INT )
  464. nodeSetActive = _c_external_function( "nodeSetActive", [*struct:bNodeTree,*struct:bNode,], lltype.Void )
  465. nodeGetActive = _c_external_function( "nodeGetActive", [*struct:bNodeTree,], lltype.Void )
  466. nodeGetActiveID = _c_external_function( "nodeGetActiveID", [*struct:bNodeTree,short,], lltype.Void )
  467. nodeSetActiveID = _c_external_function( "nodeSetActiveID", [*struct:bNodeTree,short,*struct:ID,], rffi.INT )
  468. nodeClearActiveID = _c_external_function( "nodeClearActiveID", [*struct:bNodeTree,short,], lltype.Void )
  469. NodeTagChanged = _c_external_function( "NodeTagChanged", [*struct:bNodeTree,*struct:bNode,], lltype.Void )
  470. NodeTagIDChanged = _c_external_function( "NodeTagIDChanged", [*struct:bNodeTree,*struct:ID,], rffi.INT )
  471. nodeMakeGroupFromSelected = _c_external_function( "nodeMakeGroupFromSelected", [*struct:bNodeTree,], lltype.Void )
  472. nodeGroupUnGroup = _c_external_function( "nodeGroupUnGroup", [*struct:bNodeTree,*struct:bNode,], rffi.INT )
  473. nodeVerifyGroup = _c_external_function( "nodeVerifyGroup", [*struct:bNodeTree,], lltype.Void )
  474. nodeGroupSocketUseFlags = _c_external_function( "nodeGroupSocketUseFlags", [*struct:bNodeTree,], lltype.Void )
  475. nodeCopyGroup = _c_external_function( "nodeCopyGroup", [*struct:bNode,], lltype.Void )
  476. ntreeShaderExecTree = _c_external_function( "ntreeShaderExecTree", [*struct:bNodeTree,*struct:ShadeInput,*struct:ShadeResult,], lltype.Void )
  477. ntreeShaderGetTexcoMode = _c_external_function( "ntreeShaderGetTexcoMode", [*struct:bNodeTree,rffi.INT,short,rffi.INT,], lltype.Void )
  478. nodeShaderSynchronizeID = _c_external_function( "nodeShaderSynchronizeID", [*struct:bNode,rffi.INT,], lltype.Void )
  479. set_node_shader_lamp_loop = _c_external_function( "set_node_shader_lamp_loop", [*function:lamp_loop_func,], lltype.Void )
  480. ntreeGPUMaterialNodes = _c_external_function( "ntreeGPUMaterialNodes", [*struct:bNodeTree,*struct:GPUMaterial,], lltype.Void )
  481. ntreeCompositTagRender = _c_external_function( "ntreeCompositTagRender", [*struct:Scene,], lltype.Void )
  482. ntreeCompositTagAnimated = _c_external_function( "ntreeCompositTagAnimated", [*struct:bNodeTree,], rffi.INT )
  483. ntreeCompositTagGenerators = _c_external_function( "ntreeCompositTagGenerators", [*struct:bNodeTree,], lltype.Void )
  484. ntreeCompositForceHidden = _c_external_function( "ntreeCompositForceHidden", [*struct:bNodeTree,*struct:Scene,], lltype.Void )
  485. free_compbuf = _c_external_function( "free_compbuf", [*struct:CompBuf,], lltype.Void )
  486. ntreeTexTagAnimated = _c_external_function( "ntreeTexTagAnimated", [*struct:bNodeTree,], rffi.INT )
  487. ntreeTexSetPreviewFlag = _c_external_function( "ntreeTexSetPreviewFlag", [rffi.INT,], lltype.Void )
  488. ntreeTexExecTree = _c_external_function( "ntreeTexExecTree", [*struct:bNodeTree,*struct:TexResult,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,short,*struct:Tex,short,rffi.INT,rffi.INT,*struct:ShadeInput,*struct:MTex,], rffi.INT )
  489. ntreeTexCheckCyclics = _c_external_function( "ntreeTexCheckCyclics", [*struct:bNodeTree,], lltype.Void )
  490. ntreeTexOutputMenu = _c_external_function( "ntreeTexOutputMenu", [*struct:bNodeTree,], rffi.CHAR )
  491. init_nodesystem = _c_external_function( "init_nodesystem", [rffi.VOID,], lltype.Void )
  492. free_nodesystem = _c_external_function( "free_nodesystem", [rffi.VOID,], lltype.Void )
  493. clear_scene_in_nodes = _c_external_function( "clear_scene_in_nodes", [*struct:Main,*struct:Scene,], lltype.Void )
  494. BKE_reports_init = _c_external_function( "BKE_reports_init", [ReportList,rffi.INT,], lltype.Void )
  495. BKE_reports_clear = _c_external_function( "BKE_reports_clear", [ReportList,], lltype.Void )
  496. BKE_report = _c_external_function( "BKE_report", [ReportList,ReportType,rffi.CCHARP,], lltype.Void )
  497. BKE_reportf = _c_external_function( "BKE_reportf", [ReportList,ReportType,rffi.CCHARP,], lltype.Void )
  498. BKE_reports_prepend = _c_external_function( "BKE_reports_prepend", [ReportList,rffi.CCHARP,], lltype.Void )
  499. BKE_reports_prependf = _c_external_function( "BKE_reports_prependf", [ReportList,rffi.CCHARP,], lltype.Void )
  500. BKE_report_print_level = _c_external_function( "BKE_report_print_level", [ReportList,], lltype.Void )
  501. BKE_report_print_level_set = _c_external_function( "BKE_report_print_level_set", [ReportList,ReportType,], lltype.Void )
  502. BKE_report_store_level = _c_external_function( "BKE_report_store_level", [ReportList,], lltype.Void )
  503. BKE_report_store_level_set = _c_external_function( "BKE_report_store_level_set", [ReportList,ReportType,], lltype.Void )
  504. BKE_reports_string = _c_external_function( "BKE_reports_string", [ReportList,ReportType,], rffi.CHAR )
  505. BKE_reports_print = _c_external_function( "BKE_reports_print", [ReportList,ReportType,], lltype.Void )
  506. BKE_reports_last_displayable = _c_external_function( "BKE_reports_last_displayable", [ReportList,], lltype.Void )
  507. sound_init_once = _c_external_function( "sound_init_once", [], lltype.Void )
  508. sound_init = _c_external_function( "sound_init", [*struct:Main,], lltype.Void )
  509. sound_exit = _c_external_function( "sound_exit", [], lltype.Void )
  510. sound_force_device = _c_external_function( "sound_force_device", [rffi.INT,], lltype.Void )
  511. sound_define_from_str = _c_external_function( "sound_define_from_str", [rffi.CCHARP,], rffi.INT )
  512. sound_new_file = _c_external_function( "sound_new_file", [*struct:Main,rffi.CCHARP,], lltype.Void )
  513. sound_delete = _c_external_function( "sound_delete", [*struct:bContext,*struct:bSound,], lltype.Void )
  514. sound_cache = _c_external_function( "sound_cache", [*struct:bSound,rffi.INT,], lltype.Void )
  515. sound_delete_cache = _c_external_function( "sound_delete_cache", [*struct:bSound,], lltype.Void )
  516. sound_load = _c_external_function( "sound_load", [*struct:Main,*struct:bSound,], lltype.Void )
  517. sound_free = _c_external_function( "sound_free", [*struct:bSound,], lltype.Void )
  518. sound_create_scene = _c_external_function( "sound_create_scene", [*struct:Scene,], lltype.Void )
  519. sound_destroy_scene = _c_external_function( "sound_destroy_scene", [*struct:Scene,], lltype.Void )
  520. sound_scene_add_scene_sound = _c_external_function( "sound_scene_add_scene_sound", [*struct:Scene,*struct:Sequence,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  521. sound_add_scene_sound = _c_external_function( "sound_add_scene_sound", [*struct:Scene,*struct:Sequence,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  522. sound_remove_scene_sound = _c_external_function( "sound_remove_scene_sound", [*struct:Scene,rffi.VOID,], lltype.Void )
  523. sound_mute_scene_sound = _c_external_function( "sound_mute_scene_sound", [*struct:Scene,rffi.VOID,rffi.CHAR,], lltype.Void )
  524. sound_move_scene_sound = _c_external_function( "sound_move_scene_sound", [*struct:Scene,rffi.VOID,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  525. sound_play_scene = _c_external_function( "sound_play_scene", [*struct:Scene,], lltype.Void )
  526. sound_stop_scene = _c_external_function( "sound_stop_scene", [*struct:Scene,], lltype.Void )
  527. sound_seek_scene = _c_external_function( "sound_seek_scene", [*struct:bContext,], lltype.Void )
  528. sound_sync_scene = _c_external_function( "sound_sync_scene", [*struct:Scene,], rffi.FLOAT )
  529. sound_scene_playing = _c_external_function( "sound_scene_playing", [*struct:Scene,], rffi.INT )
  530. sound_read_sound_buffer = _c_external_function( "sound_read_sound_buffer", [*struct:bSound,rffi.FLOAT,rffi.INT,rffi.FLOAT,rffi.FLOAT,], rffi.INT )
  531. IMB_init = _c_external_function( "IMB_init", [rffi.VOID,], lltype.Void )
  532. IMB_exit = _c_external_function( "IMB_exit", [rffi.VOID,], lltype.Void )
  533. IMB_ibImageFromMemory = _c_external_function( "IMB_ibImageFromMemory", [rffi.CCHARP,size_t,rffi.INT,], lltype.Void )
  534. IMB_testiffname = _c_external_function( "IMB_testiffname", [rffi.CCHARP,rffi.INT,], lltype.Void )
  535. IMB_loadiffname = _c_external_function( "IMB_loadiffname", [rffi.CCHARP,rffi.INT,], lltype.Void )
  536. IMB_freeImBuf = _c_external_function( "IMB_freeImBuf", [*struct:ImBuf,], lltype.Void )
  537. IMB_allocImBuf = _c_external_function( "IMB_allocImBuf", [short,short,rffi.CHAR,rffi.INT,rffi.CHAR,], lltype.Void )
  538. IMB_refImBuf = _c_external_function( "IMB_refImBuf", [*struct:ImBuf,], lltype.Void )
  539. IMB_cache_limiter_insert = _c_external_function( "IMB_cache_limiter_insert", [*struct:ImBuf,], lltype.Void )
  540. IMB_cache_limiter_unmanage = _c_external_function( "IMB_cache_limiter_unmanage", [*struct:ImBuf,], lltype.Void )
  541. IMB_cache_limiter_touch = _c_external_function( "IMB_cache_limiter_touch", [*struct:ImBuf,], lltype.Void )
  542. IMB_cache_limiter_ref = _c_external_function( "IMB_cache_limiter_ref", [*struct:ImBuf,], lltype.Void )
  543. IMB_cache_limiter_unref = _c_external_function( "IMB_cache_limiter_unref", [*struct:ImBuf,], lltype.Void )
  544. IMB_cache_limiter_get_refcount = _c_external_function( "IMB_cache_limiter_get_refcount", [*struct:ImBuf,], rffi.INT )
  545. IMB_free_cache_limiter = _c_external_function( "IMB_free_cache_limiter", [rffi.VOID,], lltype.Void )
  546. IMB_dupImBuf = _c_external_function( "IMB_dupImBuf", [*struct:ImBuf,], lltype.Void )
  547. addzbufImBuf = _c_external_function( "addzbufImBuf", [*struct:ImBuf,], lltype.Void )
  548. addzbuffloatImBuf = _c_external_function( "addzbuffloatImBuf", [*struct:ImBuf,], lltype.Void )
  549. IMB_blend_color = _c_external_function( "IMB_blend_color", [rffi.INT,rffi.INT,rffi.INT,IMB_BlendMode,], rffi.INT )
  550. IMB_blend_color_float = _c_external_function( "IMB_blend_color_float", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,IMB_BlendMode,], lltype.Void )
  551. IMB_rectclip = _c_external_function( "IMB_rectclip", [*struct:ImBuf,*struct:ImBuf,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  552. IMB_rectcpy = _c_external_function( "IMB_rectcpy", [*struct:ImBuf,*struct:ImBuf,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  553. IMB_rectblend = _c_external_function( "IMB_rectblend", [*struct:ImBuf,*struct:ImBuf,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,IMB_BlendMode,], lltype.Void )
  554. IMB_anim_get_duration = _c_external_function( "IMB_anim_get_duration", [*struct:anim,], rffi.INT )
  555. IMB_open_anim = _c_external_function( "IMB_open_anim", [rffi.CCHARP,rffi.INT,], lltype.Void )
  556. IMB_close_anim = _c_external_function( "IMB_close_anim", [*struct:anim,], lltype.Void )
  557. ismovie = _c_external_function( "ismovie", [rffi.CCHARP,], rffi.INT )
  558. IMB_anim_set_preseek = _c_external_function( "IMB_anim_set_preseek", [*struct:anim,rffi.INT,], lltype.Void )
  559. IMB_anim_get_preseek = _c_external_function( "IMB_anim_get_preseek", [*struct:anim,], rffi.INT )
  560. IMB_anim_absolute = _c_external_function( "IMB_anim_absolute", [*struct:anim,rffi.INT,], lltype.Void )
  561. IMB_anim_previewframe = _c_external_function( "IMB_anim_previewframe", [*struct:anim,], lltype.Void )
  562. IMB_free_anim_ibuf = _c_external_function( "IMB_free_anim_ibuf", [*struct:anim,], lltype.Void )
  563. IMB_free_anim = _c_external_function( "IMB_free_anim", [*struct:anim,], lltype.Void )
  564. IMB_filter = _c_external_function( "IMB_filter", [*struct:ImBuf,], lltype.Void )
  565. IMB_filterN = _c_external_function( "IMB_filterN", [*struct:ImBuf,*struct:ImBuf,], lltype.Void )
  566. IMB_filter_extend = _c_external_function( "IMB_filter_extend", [*struct:ImBuf,rffi.CCHARP,], lltype.Void )
  567. IMB_makemipmap = _c_external_function( "IMB_makemipmap", [*struct:ImBuf,rffi.INT,], lltype.Void )
  568. IMB_getmipmap = _c_external_function( "IMB_getmipmap", [*struct:ImBuf,rffi.INT,], lltype.Void )
  569. IMB_tile_cache_params = _c_external_function( "IMB_tile_cache_params", [rffi.INT,rffi.INT,], lltype.Void )
  570. IMB_gettile = _c_external_function( "IMB_gettile", [*struct:ImBuf,rffi.INT,rffi.INT,rffi.INT,], rffi.INT )
  571. IMB_tiles_to_rect = _c_external_function( "IMB_tiles_to_rect", [*struct:ImBuf,], lltype.Void )
  572. IMB_filtery = _c_external_function( "IMB_filtery", [*struct:ImBuf,], lltype.Void )
  573. IMB_onehalf = _c_external_function( "IMB_onehalf", [*struct:ImBuf,], lltype.Void )
  574. IMB_scaleImBuf = _c_external_function( "IMB_scaleImBuf", [*struct:ImBuf,short,short,], lltype.Void )
  575. IMB_scalefastImBuf = _c_external_function( "IMB_scalefastImBuf", [*struct:ImBuf,short,short,], lltype.Void )
  576. IMB_saveiff = _c_external_function( "IMB_saveiff", [*struct:ImBuf,rffi.CCHARP,rffi.INT,], lltype.Void )
  577. IMB_png_encode = _c_external_function( "IMB_png_encode", [*struct:ImBuf,rffi.INT,rffi.INT,], lltype.Void )
  578. IMB_ispic = _c_external_function( "IMB_ispic", [rffi.CCHARP,], rffi.INT )
  579. IMB_isanim = _c_external_function( "IMB_isanim", [rffi.CCHARP,], rffi.INT )
  580. imb_get_anim_type = _c_external_function( "imb_get_anim_type", [rffi.CCHARP,], rffi.INT )
  581. IMB_de_interlace = _c_external_function( "IMB_de_interlace", [*struct:ImBuf,], lltype.Void )
  582. IMB_interlace = _c_external_function( "IMB_interlace", [*struct:ImBuf,], lltype.Void )
  583. IMB_rect_from_float = _c_external_function( "IMB_rect_from_float", [*struct:ImBuf,], lltype.Void )
  584. IMB_float_from_rect = _c_external_function( "IMB_float_from_rect", [*struct:ImBuf,], lltype.Void )
  585. IMB_float_from_rect_simple = _c_external_function( "IMB_float_from_rect_simple", [*struct:ImBuf,], lltype.Void )
  586. IMB_convert_profile = _c_external_function( "IMB_convert_profile", [*struct:ImBuf,rffi.INT,], lltype.Void )
  587. IMB_convert_rgba_to_abgr = _c_external_function( "IMB_convert_rgba_to_abgr", [*struct:ImBuf,], lltype.Void )
  588. IMB_convert_bgra_to_rgba = _c_external_function( "IMB_convert_bgra_to_rgba", [rffi.INT,rffi.INT,], lltype.Void )
  589. bicubic_interpolation = _c_external_function( "bicubic_interpolation", [*struct:ImBuf,*struct:ImBuf,rffi.FLOAT,rffi.FLOAT,rffi.INT,rffi.INT,], lltype.Void )
  590. neareast_interpolation = _c_external_function( "neareast_interpolation", [*struct:ImBuf,*struct:ImBuf,rffi.FLOAT,rffi.FLOAT,rffi.INT,rffi.INT,], lltype.Void )
  591. bilinear_interpolation = _c_external_function( "bilinear_interpolation", [*struct:ImBuf,*struct:ImBuf,rffi.FLOAT,rffi.FLOAT,rffi.INT,rffi.INT,], lltype.Void )
  592. bicubic_interpolation_color = _c_external_function( "bicubic_interpolation_color", [*struct:ImBuf,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  593. neareast_interpolation_color = _c_external_function( "neareast_interpolation_color", [*struct:ImBuf,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  594. bilinear_interpolation_color = _c_external_function( "bilinear_interpolation_color", [*struct:ImBuf,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  595. bilinear_interpolation_color_wrap = _c_external_function( "bilinear_interpolation_color_wrap", [*struct:ImBuf,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  596. IMB_loadiffmem = _c_external_function( "IMB_loadiffmem", [rffi.INT,rffi.INT,], lltype.Void )
  597. IMB_loadifffile = _c_external_function( "IMB_loadifffile", [rffi.INT,rffi.INT,], lltype.Void )
  598. IMB_half_x = _c_external_function( "IMB_half_x", [*struct:ImBuf,], lltype.Void )
  599. IMB_double_fast_x = _c_external_function( "IMB_double_fast_x", [*struct:ImBuf,], lltype.Void )
  600. IMB_double_x = _c_external_function( "IMB_double_x", [*struct:ImBuf,], lltype.Void )
  601. IMB_half_y = _c_external_function( "IMB_half_y", [*struct:ImBuf,], lltype.Void )
  602. IMB_double_fast_y = _c_external_function( "IMB_double_fast_y", [*struct:ImBuf,], lltype.Void )
  603. IMB_double_y = _c_external_function( "IMB_double_y", [*struct:ImBuf,], lltype.Void )
  604. IMB_flipx = _c_external_function( "IMB_flipx", [*struct:ImBuf,], lltype.Void )
  605. IMB_flipy = _c_external_function( "IMB_flipy", [*struct:ImBuf,], lltype.Void )
  606. IMB_premultiply_alpha = _c_external_function( "IMB_premultiply_alpha", [*struct:ImBuf,], lltype.Void )
  607. IMB_freezbufImBuf = _c_external_function( "IMB_freezbufImBuf", [*struct:ImBuf,], lltype.Void )
  608. IMB_freezbuffloatImBuf = _c_external_function( "IMB_freezbuffloatImBuf", [*struct:ImBuf,], lltype.Void )
  609. IMB_rectfill = _c_external_function( "IMB_rectfill", [*struct:ImBuf,array,], lltype.Void )
  610. IMB_rectfill_area = _c_external_function( "IMB_rectfill_area", [*struct:ImBuf,rffi.FLOAT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  611. buf_rectfill_area = _c_external_function( "buf_rectfill_area", [rffi.CCHARP,rffi.FLOAT,rffi.INT,rffi.INT,rffi.FLOAT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  612. IMB_metadata_change_field = _c_external_function( "IMB_metadata_change_field", [*struct:ImBuf,rffi.CCHARP,rffi.CCHARP,], rffi.INT )
  613. imb_addrectImBuf = _c_external_function( "imb_addrectImBuf", [*struct:ImBuf,], lltype.Void )
  614. imb_freerectImBuf = _c_external_function( "imb_freerectImBuf", [*struct:ImBuf,], lltype.Void )
  615. imb_addrectfloatImBuf = _c_external_function( "imb_addrectfloatImBuf", [*struct:ImBuf,], lltype.Void )
  616. imb_freerectfloatImBuf = _c_external_function( "imb_freerectfloatImBuf", [*struct:ImBuf,], lltype.Void )
  617. imb_freemipmapImBuf = _c_external_function( "imb_freemipmapImBuf", [*struct:ImBuf,], lltype.Void )
  618. imb_addtilesImBuf = _c_external_function( "imb_addtilesImBuf", [*struct:ImBuf,], lltype.Void )
  619. imb_freetilesImBuf = _c_external_function( "imb_freetilesImBuf", [*struct:ImBuf,], lltype.Void )
  620. BPY_pyconstraint_eval = _c_external_function( "BPY_pyconstraint_eval", [*struct:bPythonConstraint,*struct:bConstraintOb,*struct:ListBase,], lltype.Void )
  621. BPY_pyconstraint_target = _c_external_function( "BPY_pyconstraint_target", [*struct:bPythonConstraint,*struct:bConstraintTarget,], lltype.Void )
  622. BPY_pyconstraint_update = _c_external_function( "BPY_pyconstraint_update", [*struct:Object,*struct:bConstraint,], lltype.Void )
  623. BPY_is_pyconstraint = _c_external_function( "BPY_is_pyconstraint", [*struct:Text,], rffi.INT )
  624. BPY_start_python = _c_external_function( "BPY_start_python", [rffi.INT,**?,], lltype.Void )
  625. BPY_end_python = _c_external_function( "BPY_end_python", [rffi.VOID,], lltype.Void )
  626. BPY_run_python_script = _c_external_function( "BPY_run_python_script", [*struct:bContext,rffi.CCHARP,*struct:Text,*struct:ReportList,], rffi.INT )
  627. BPY_run_script_space_draw = _c_external_function( "BPY_run_script_space_draw", [*struct:bContext,*struct:SpaceScript,], rffi.INT )
  628. BPY_update_modules = _c_external_function( "BPY_update_modules", [rffi.VOID,], lltype.Void )
  629. BPY_context_get = _c_external_function( "BPY_context_get", [*struct:bContext,rffi.CCHARP,*struct:bContextDataResult,], rffi.INT )
  630. BPY_free_compiled_text = _c_external_function( "BPY_free_compiled_text", [*struct:Text,], lltype.Void )
  631. BPY_eval_driver = _c_external_function( "BPY_eval_driver", [*struct:ChannelDriver,], rffi.FLOAT )
  632. BPY_eval_button = _c_external_function( "BPY_eval_button", [*struct:bContext,rffi.CCHARP,double,], rffi.INT )
  633. BPY_eval_string = _c_external_function( "BPY_eval_string", [*struct:bContext,rffi.CCHARP,], rffi.INT )
  634. BPY_call_importloader = _c_external_function( "BPY_call_importloader", [rffi.CCHARP,], rffi.INT )
  635. BPY_DECREF = _c_external_function( "BPY_DECREF", [rffi.VOID,], lltype.Void )
  636. BPY_set_context = _c_external_function( "BPY_set_context", [*struct:bContext,], lltype.Void )
  637. BPY_load_user_modules = _c_external_function( "BPY_load_user_modules", [*struct:bContext,], lltype.Void )
  638. RE_NewRender = _c_external_function( "RE_NewRender", [rffi.CCHARP,], lltype.Void )
  639. RE_GetRender = _c_external_function( "RE_GetRender", [rffi.CCHARP,], lltype.Void )
  640. RE_RenderInProgress = _c_external_function( "RE_RenderInProgress", [*struct:Render,], rffi.INT )
  641. RE_FreeRender = _c_external_function( "RE_FreeRender", [*struct:Render,], lltype.Void )
  642. RE_FreeAllRender = _c_external_function( "RE_FreeAllRender", [rffi.VOID,], lltype.Void )
  643. RE_FreeRenderResult = _c_external_function( "RE_FreeRenderResult", [*struct:RenderResult,], lltype.Void )
  644. RE_AcquireResultRead = _c_external_function( "RE_AcquireResultRead", [*struct:Render,], lltype.Void )
  645. RE_AcquireResultWrite = _c_external_function( "RE_AcquireResultWrite", [*struct:Render,], lltype.Void )
  646. RE_ReleaseResult = _c_external_function( "RE_ReleaseResult", [*struct:Render,], lltype.Void )
  647. RE_AcquireResultImage = _c_external_function( "RE_AcquireResultImage", [*struct:Render,*struct:RenderResult,], lltype.Void )
  648. RE_ReleaseResultImage = _c_external_function( "RE_ReleaseResultImage", [*struct:Render,], lltype.Void )
  649. RE_SwapResult = _c_external_function( "RE_SwapResult", [*struct:Render,**?,], lltype.Void )
  650. RE_GetStats = _c_external_function( "RE_GetStats", [*struct:Render,], lltype.Void )
  651. RE_ResultGet32 = _c_external_function( "RE_ResultGet32", [*struct:Render,rffi.INT,], lltype.Void )
  652. RE_GetRenderLayer = _c_external_function( "RE_GetRenderLayer", [*struct:RenderResult,rffi.CCHARP,], lltype.Void )
  653. RE_RenderLayerGetPass = _c_external_function( "RE_RenderLayerGetPass", [*struct:RenderLayer,rffi.INT,], rffi.FLOAT )
  654. RE_InitState = _c_external_function( "RE_InitState", [*struct:Render,*struct:Render,*struct:RenderData,*struct:SceneRenderLayer,rffi.INT,rffi.INT,rcti,], lltype.Void )
  655. RE_SetDispRect = _c_external_function( "RE_SetDispRect", [*struct:Render,rcti,], lltype.Void )
  656. RE_SetCamera = _c_external_function( "RE_SetCamera", [*struct:Render,*struct:Object,], lltype.Void )
  657. RE_SetWindow = _c_external_function( "RE_SetWindow", [*struct:Render,rctf,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  658. RE_SetOrtho = _c_external_function( "RE_SetOrtho", [*struct:Render,rctf,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  659. RE_SetPixelSize = _c_external_function( "RE_SetPixelSize", [*struct:Render,rffi.FLOAT,], lltype.Void )
  660. RE_SetView = _c_external_function( "RE_SetView", [*struct:Render,array,], lltype.Void )
  661. RE_Database_FromScene = _c_external_function( "RE_Database_FromScene", [*struct:Render,*struct:Main,*struct:Scene,rffi.INT,rffi.INT,], lltype.Void )
  662. RE_Database_Free = _c_external_function( "RE_Database_Free", [*struct:Render,], lltype.Void )
  663. RE_DataBase_ApplyWindow = _c_external_function( "RE_DataBase_ApplyWindow", [*struct:Render,], lltype.Void )
  664. RE_set_max_threads = _c_external_function( "RE_set_max_threads", [rffi.INT,], lltype.Void )
  665. RE_init_threadcount = _c_external_function( "RE_init_threadcount", [Render,], lltype.Void )
  666. RE_TileProcessor = _c_external_function( "RE_TileProcessor", [*struct:Render,], lltype.Void )
  667. RE_BlenderFrame = _c_external_function( "RE_BlenderFrame", [*struct:Render,*struct:Main,*struct:Scene,*struct:SceneRenderLayer,rffi.INT,rffi.INT,], lltype.Void )
  668. RE_BlenderAnim = _c_external_function( "RE_BlenderAnim", [*struct:Render,*struct:Main,*struct:Scene,rffi.INT,rffi.INT,rffi.INT,rffi.INT,*struct:ReportList,], lltype.Void )
  669. RE_PreviewRender = _c_external_function( "RE_PreviewRender", [*struct:Render,*struct:Main,*struct:Scene,], lltype.Void )
  670. RE_ReadRenderResult = _c_external_function( "RE_ReadRenderResult", [*struct:Scene,*struct:Scene,], lltype.Void )
  671. RE_WriteRenderResult = _c_external_function( "RE_WriteRenderResult", [RenderResult,rffi.CCHARP,rffi.INT,], lltype.Void )
  672. RE_MultilayerConvert = _c_external_function( "RE_MultilayerConvert", [rffi.VOID,rffi.INT,rffi.INT,], lltype.Void )
  673. RE_MergeFullSample = _c_external_function( "RE_MergeFullSample", [*struct:Render,*struct:Scene,*struct:bNodeTree,], lltype.Void )
  674. RE_make_stars = _c_external_function( "RE_make_stars", [*struct:Render,*struct:Scene,*function:initfunc,*function:vertexfunc,*function:termfunc,], lltype.Void )
  675. RE_display_init_cb = _c_external_function( "RE_display_init_cb", [*struct:Render,rffi.VOID,*function:f,], lltype.Void )
  676. RE_display_clear_cb = _c_external_function( "RE_display_clear_cb", [*struct:Render,rffi.VOID,*function:f,], lltype.Void )
  677. RE_display_draw_cb = _c_external_function( "RE_display_draw_cb", [*struct:Render,rffi.VOID,*function:f,], lltype.Void )
  678. RE_stats_draw_cb = _c_external_function( "RE_stats_draw_cb", [*struct:Render,rffi.VOID,*function:f,], lltype.Void )
  679. RE_progress_cb = _c_external_function( "RE_progress_cb", [*struct:Render,rffi.VOID,*function:f,], lltype.Void )
  680. RE_test_break_cb = _c_external_function( "RE_test_break_cb", [*struct:Render,rffi.VOID,*function:f,], lltype.Void )
  681. RE_error_cb = _c_external_function( "RE_error_cb", [*struct:Render,rffi.VOID,*function:f,], lltype.Void )
  682. RE_filter_value = _c_external_function( "RE_filter_value", [rffi.INT,rffi.FLOAT,], rffi.FLOAT )
  683. RE_zbuf_accumulate_vecblur = _c_external_function( "RE_zbuf_accumulate_vecblur", [*struct:NodeBlurData,rffi.INT,rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  684. RE_Database_Baking = _c_external_function( "RE_Database_Baking", [*struct:Render,*struct:Main,*struct:Scene,rffi.INT,rffi.INT,*struct:Object,], lltype.Void )
  685. RE_DataBase_GetView = _c_external_function( "RE_DataBase_GetView", [*struct:Render,array,], lltype.Void )
  686. RE_GetCameraWindow = _c_external_function( "RE_GetCameraWindow", [*struct:Render,*struct:Object,rffi.INT,array,], lltype.Void )
  687. RE_GetScene = _c_external_function( "RE_GetScene", [*struct:Render,], lltype.Void )
  688. RE_layer_load_from_file = _c_external_function( "RE_layer_load_from_file", [RenderLayer,*struct:ReportList,rffi.CCHARP,], lltype.Void )
  689. RE_result_load_from_file = _c_external_function( "RE_result_load_from_file", [RenderResult,*struct:ReportList,rffi.CCHARP,], lltype.Void )
  690. RE_engine_begin_result = _c_external_function( "RE_engine_begin_result", [RenderEngine,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  691. RE_engine_update_result = _c_external_function( "RE_engine_update_result", [RenderEngine,*struct:RenderResult,], lltype.Void )
  692. RE_engine_end_result = _c_external_function( "RE_engine_end_result", [RenderEngine,*struct:RenderResult,], lltype.Void )
  693. RE_engine_test_break = _c_external_function( "RE_engine_test_break", [RenderEngine,], rffi.INT )
  694. RE_engine_update_stats = _c_external_function( "RE_engine_update_stats", [RenderEngine,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  695. RE_engines_init = _c_external_function( "RE_engines_init", [rffi.VOID,], lltype.Void )
  696. RE_engines_exit = _c_external_function( "RE_engines_exit", [rffi.VOID,], lltype.Void )
  697. WM_setprefsize = _c_external_function( "WM_setprefsize", [rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  698. WM_setinitialstate_fullscreen = _c_external_function( "WM_setinitialstate_fullscreen", [], lltype.Void )
  699. WM_setinitialstate_normal = _c_external_function( "WM_setinitialstate_normal", [], lltype.Void )
  700. WM_init = _c_external_function( "WM_init", [*struct:bContext,rffi.INT,**?,], lltype.Void )
  701. WM_exit = _c_external_function( "WM_exit", [*struct:bContext,], lltype.Void )
  702. WM_main = _c_external_function( "WM_main", [*struct:bContext,], lltype.Void )
  703. WM_init_game = _c_external_function( "WM_init_game", [*struct:bContext,], rffi.INT )
  704. WM_init_splash = _c_external_function( "WM_init_splash", [*struct:bContext,], lltype.Void )
  705. WM_check = _c_external_function( "WM_check", [*struct:bContext,], lltype.Void )
  706. WM_window_open = _c_external_function( "WM_window_open", [*struct:bContext,*struct:rcti,], lltype.Void )
  707. WM_window_open_temp = _c_external_function( "WM_window_open_temp", [*struct:bContext,*struct:rcti,rffi.INT,], lltype.Void )
  708. WM_read_homefile = _c_external_function( "WM_read_homefile", [*struct:bContext,*struct:wmOperator,], rffi.INT )
  709. WM_write_homefile = _c_external_function( "WM_write_homefile", [*struct:bContext,*struct:wmOperator,], rffi.INT )
  710. WM_read_file = _c_external_function( "WM_read_file", [*struct:bContext,rffi.CCHARP,*struct:ReportList,], lltype.Void )
  711. WM_write_file = _c_external_function( "WM_write_file", [*struct:bContext,rffi.CCHARP,rffi.INT,*struct:ReportList,rffi.INT,], rffi.INT )
  712. WM_read_autosavefile = _c_external_function( "WM_read_autosavefile", [*struct:bContext,], lltype.Void )
  713. WM_autosave_init = _c_external_function( "WM_autosave_init", [*struct:wmWindowManager,], lltype.Void )
  714. WM_cursor_set = _c_external_function( "WM_cursor_set", [*struct:wmWindow,rffi.INT,], lltype.Void )
  715. WM_cursor_modal = _c_external_function( "WM_cursor_modal", [*struct:wmWindow,rffi.INT,], lltype.Void )
  716. WM_cursor_restore = _c_external_function( "WM_cursor_restore", [*struct:wmWindow,], lltype.Void )
  717. WM_cursor_wait = _c_external_function( "WM_cursor_wait", [rffi.INT,], lltype.Void )
  718. WM_cursor_grab = _c_external_function( "WM_cursor_grab", [*struct:wmWindow,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  719. WM_cursor_ungrab = _c_external_function( "WM_cursor_ungrab", [*struct:wmWindow,], lltype.Void )
  720. WM_timecursor = _c_external_function( "WM_timecursor", [*struct:wmWindow,rffi.INT,], lltype.Void )
  721. WM_paint_cursor_activate = _c_external_function( "WM_paint_cursor_activate", [*struct:wmWindowManager,*function:poll,*function:draw,rffi.VOID,], lltype.Void )
  722. WM_paint_cursor_end = _c_external_function( "WM_paint_cursor_end", [*struct:wmWindowManager,rffi.VOID,], lltype.Void )
  723. WM_cursor_warp = _c_external_function( "WM_cursor_warp", [*struct:wmWindow,rffi.INT,rffi.INT,], lltype.Void )
  724. WM_keyconfig_new = _c_external_function( "WM_keyconfig_new", [*struct:wmWindowManager,rffi.CCHARP,], lltype.Void )
  725. WM_keyconfig_new_user = _c_external_function( "WM_keyconfig_new_user", [*struct:wmWindowManager,rffi.CCHARP,], lltype.Void )
  726. WM_keyconfig_remove = _c_external_function( "WM_keyconfig_remove", [*struct:wmWindowManager,*struct:wmKeyConfig,], lltype.Void )
  727. WM_keyconfig_free = _c_external_function( "WM_keyconfig_free", [*struct:wmKeyConfig,], lltype.Void )
  728. WM_keyconfig_userdef = _c_external_function( "WM_keyconfig_userdef", [*struct:wmWindowManager,], lltype.Void )
  729. WM_keymap_init = _c_external_function( "WM_keymap_init", [*struct:bContext,], lltype.Void )
  730. WM_keymap_free = _c_external_function( "WM_keymap_free", [*struct:wmKeyMap,], lltype.Void )
  731. WM_keymap_verify_item = _c_external_function( "WM_keymap_verify_item", [*struct:wmKeyMap,rffi.CCHARP,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  732. WM_keymap_add_item = _c_external_function( "WM_keymap_add_item", [*struct:wmKeyMap,rffi.CCHARP,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  733. WM_keymap_add_menu = _c_external_function( "WM_keymap_add_menu", [*struct:wmKeyMap,rffi.CCHARP,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  734. WM_keymap_remove_item = _c_external_function( "WM_keymap_remove_item", [*struct:wmKeyMap,*struct:wmKeyMapItem,], lltype.Void )
  735. WM_keymap_item_to_string = _c_external_function( "WM_keymap_item_to_string", [wmKeyMapItem,rffi.CCHARP,rffi.INT,], rffi.CHAR )
  736. WM_keymap_list_find = _c_external_function( "WM_keymap_list_find", [ListBase,rffi.CCHARP,rffi.INT,rffi.INT,], lltype.Void )
  737. WM_keymap_find = _c_external_function( "WM_keymap_find", [*struct:wmKeyConfig,rffi.CCHARP,rffi.INT,rffi.INT,], lltype.Void )
  738. WM_keymap_find_all = _c_external_function( "WM_keymap_find_all", [*struct:bContext,rffi.CCHARP,rffi.INT,rffi.INT,], lltype.Void )
  739. WM_keymap_active = _c_external_function( "WM_keymap_active", [*struct:wmWindowManager,*struct:wmKeyMap,], lltype.Void )
  740. WM_keymap_guess_opname = _c_external_function( "WM_keymap_guess_opname", [*struct:bContext,rffi.CCHARP,], lltype.Void )
  741. WM_keymap_user_init = _c_external_function( "WM_keymap_user_init", [*struct:wmWindowManager,*struct:wmKeyMap,], rffi.INT )
  742. WM_keymap_copy_to_user = _c_external_function( "WM_keymap_copy_to_user", [*struct:wmKeyMap,], lltype.Void )
  743. WM_keymap_restore_to_default = _c_external_function( "WM_keymap_restore_to_default", [*struct:wmKeyMap,], lltype.Void )
  744. WM_keymap_properties_reset = _c_external_function( "WM_keymap_properties_reset", [*struct:wmKeyMapItem,], lltype.Void )
  745. WM_keymap_restore_item_to_default = _c_external_function( "WM_keymap_restore_item_to_default", [*struct:bContext,*struct:wmKeyMap,*struct:wmKeyMapItem,], lltype.Void )
  746. WM_keymap_item_find_id = _c_external_function( "WM_keymap_item_find_id", [*struct:wmKeyMap,rffi.INT,], lltype.Void )
  747. WM_keymap_item_compare = _c_external_function( "WM_keymap_item_compare", [*struct:wmKeyMapItem,*struct:wmKeyMapItem,], rffi.INT )
  748. WM_userdef_event_map = _c_external_function( "WM_userdef_event_map", [rffi.INT,], rffi.INT )
  749. WM_modalkeymap_add = _c_external_function( "WM_modalkeymap_add", [*struct:wmKeyConfig,rffi.CCHARP,*struct:EnumPropertyItem,], lltype.Void )
  750. WM_modalkeymap_get = _c_external_function( "WM_modalkeymap_get", [*struct:wmKeyConfig,rffi.CCHARP,], lltype.Void )
  751. WM_modalkeymap_add_item = _c_external_function( "WM_modalkeymap_add_item", [*struct:wmKeyMap,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  752. WM_modalkeymap_assign = _c_external_function( "WM_modalkeymap_assign", [*struct:wmKeyMap,rffi.CCHARP,], lltype.Void )
  753. WM_key_event_string = _c_external_function( "WM_key_event_string", [short,], rffi.CHAR )
  754. WM_key_event_operator_id = _c_external_function( "WM_key_event_operator_id", [*struct:bContext,rffi.CCHARP,rffi.INT,*struct:IDProperty,rffi.INT,**?,], rffi.INT )
  755. WM_key_event_operator_string = _c_external_function( "WM_key_event_operator_string", [*struct:bContext,rffi.CCHARP,rffi.INT,*struct:IDProperty,rffi.CCHARP,rffi.INT,], rffi.CHAR )
  756. WM_event_add_keymap_handler = _c_external_function( "WM_event_add_keymap_handler", [ListBase,wmKeyMap,], lltype.Void )
  757. WM_event_add_keymap_handler_bb = _c_external_function( "WM_event_add_keymap_handler_bb", [ListBase,wmKeyMap,rcti,rcti,], lltype.Void )
  758. WM_event_add_keymap_handler_priority = _c_external_function( "WM_event_add_keymap_handler_priority", [ListBase,wmKeyMap,rffi.INT,], lltype.Void )
  759. WM_event_remove_keymap_handler = _c_external_function( "WM_event_remove_keymap_handler", [ListBase,wmKeyMap,], lltype.Void )
  760. WM_event_add_ui_handler = _c_external_function( "WM_event_add_ui_handler", [*struct:bContext,ListBase,*function:func,*function:remove,rffi.VOID,], lltype.Void )
  761. WM_event_remove_ui_handler = _c_external_function( "WM_event_remove_ui_handler", [ListBase,*function:func,*function:remove,rffi.VOID,], lltype.Void )
  762. WM_event_remove_area_handler = _c_external_function( "WM_event_remove_area_handler", [*struct:ListBase,rffi.VOID,], lltype.Void )
  763. WM_event_add_modal_handler = _c_external_function( "WM_event_add_modal_handler", [*struct:bContext,*struct:wmOperator,], lltype.Void )
  764. WM_event_remove_handlers = _c_external_function( "WM_event_remove_handlers", [*struct:bContext,ListBase,], lltype.Void )
  765. WM_event_add_dropbox_handler = _c_external_function( "WM_event_add_dropbox_handler", [ListBase,ListBase,], lltype.Void )
  766. WM_event_add_mousemove = _c_external_function( "WM_event_add_mousemove", [*struct:bContext,], lltype.Void )
  767. WM_modal_tweak_exit = _c_external_function( "WM_modal_tweak_exit", [*struct:wmEvent,rffi.INT,], rffi.INT )
  768. WM_event_add_notifier = _c_external_function( "WM_event_add_notifier", [*struct:bContext,rffi.INT,rffi.VOID,], lltype.Void )
  769. WM_main_add_notifier = _c_external_function( "WM_main_add_notifier", [rffi.INT,rffi.VOID,], lltype.Void )
  770. wm_event_add = _c_external_function( "wm_event_add", [*struct:wmWindow,*struct:wmEvent,], lltype.Void )
  771. WM_event_add_timer = _c_external_function( "WM_event_add_timer", [*struct:wmWindowManager,*struct:wmWindow,rffi.INT,double,], lltype.Void )
  772. WM_event_remove_timer = _c_external_function( "WM_event_remove_timer", [*struct:wmWindowManager,*struct:wmWindow,*struct:wmTimer,], lltype.Void )
  773. WM_event_timer_sleep = _c_external_function( "WM_event_timer_sleep", [*struct:wmWindowManager,*struct:wmWindow,*struct:wmTimer,rffi.INT,], lltype.Void )
  774. WM_menu_invoke = _c_external_function( "WM_menu_invoke", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  775. WM_enum_search_invoke = _c_external_function( "WM_enum_search_invoke", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  776. WM_operator_confirm = _c_external_function( "WM_operator_confirm", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  777. WM_operator_filesel = _c_external_function( "WM_operator_filesel", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  778. WM_operator_winactive = _c_external_function( "WM_operator_winactive", [*struct:bContext,], rffi.INT )
  779. WM_operator_props_popup = _c_external_function( "WM_operator_props_popup", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  780. WM_operator_props_dialog_popup = _c_external_function( "WM_operator_props_dialog_popup", [*struct:bContext,*struct:wmOperator,rffi.INT,rffi.INT,], rffi.INT )
  781. WM_operator_redo_popup = _c_external_function( "WM_operator_redo_popup", [*struct:bContext,*struct:wmOperator,], rffi.INT )
  782. WM_operator_ui_popup = _c_external_function( "WM_operator_ui_popup", [*struct:bContext,*struct:wmOperator,rffi.INT,rffi.INT,], rffi.INT )
  783. WM_operator_confirm_message = _c_external_function( "WM_operator_confirm_message", [*struct:bContext,*struct:wmOperator,rffi.CCHARP,], rffi.INT )
  784. WM_operator_free = _c_external_function( "WM_operator_free", [*struct:wmOperator,], lltype.Void )
  785. WM_operator_stack_clear = _c_external_function( "WM_operator_stack_clear", [*struct:bContext,], lltype.Void )
  786. WM_operatortype_find = _c_external_function( "WM_operatortype_find", [rffi.CCHARP,rffi.INT,], lltype.Void )
  787. WM_operatortype_first = _c_external_function( "WM_operatortype_first", [rffi.VOID,], lltype.Void )
  788. WM_operatortype_append = _c_external_function( "WM_operatortype_append", [*function:opfunc,], lltype.Void )
  789. WM_operatortype_append_ptr = _c_external_function( "WM_operatortype_append_ptr", [*function:opfunc,rffi.VOID,], lltype.Void )
  790. WM_operatortype_append_macro_ptr = _c_external_function( "WM_operatortype_append_macro_ptr", [*function:opfunc,rffi.VOID,], lltype.Void )
  791. WM_operatortype_remove = _c_external_function( "WM_operatortype_remove", [rffi.CCHARP,], rffi.INT )
  792. WM_operatortype_append_macro = _c_external_function( "WM_operatortype_append_macro", [rffi.CCHARP,rffi.CCHARP,rffi.INT,], lltype.Void )
  793. WM_operatortype_macro_define = _c_external_function( "WM_operatortype_macro_define", [*struct:wmOperatorType,rffi.CCHARP,], lltype.Void )
  794. WM_operator_poll = _c_external_function( "WM_operator_poll", [*struct:bContext,*struct:wmOperatorType,], rffi.INT )
  795. WM_operator_call = _c_external_function( "WM_operator_call", [*struct:bContext,*struct:wmOperator,], rffi.INT )
  796. WM_operator_repeat = _c_external_function( "WM_operator_repeat", [*struct:bContext,*struct:wmOperator,], rffi.INT )
  797. WM_operator_name_call = _c_external_function( "WM_operator_name_call", [*struct:bContext,rffi.CCHARP,rffi.INT,*struct:PointerRNA,], rffi.INT )
  798. WM_operator_call_py = _c_external_function( "WM_operator_call_py", [*struct:bContext,*struct:wmOperatorType,rffi.INT,*struct:PointerRNA,*struct:ReportList,], rffi.INT )
  799. WM_operator_properties_alloc = _c_external_function( "WM_operator_properties_alloc", [**?,**?,rffi.CCHARP,], lltype.Void )
  800. WM_operator_properties_sanitize = _c_external_function( "WM_operator_properties_sanitize", [*struct:PointerRNA,rffi.INT,], lltype.Void )
  801. WM_operator_properties_create = _c_external_function( "WM_operator_properties_create", [*struct:PointerRNA,rffi.CCHARP,], lltype.Void )
  802. WM_operator_properties_create_ptr = _c_external_function( "WM_operator_properties_create_ptr", [*struct:PointerRNA,*struct:wmOperatorType,], lltype.Void )
  803. WM_operator_properties_free = _c_external_function( "WM_operator_properties_free", [*struct:PointerRNA,], lltype.Void )
  804. WM_operator_properties_filesel = _c_external_function( "WM_operator_properties_filesel", [*struct:wmOperatorType,rffi.INT,short,short,short,], lltype.Void )
  805. WM_operator_properties_gesture_border = _c_external_function( "WM_operator_properties_gesture_border", [*struct:wmOperatorType,rffi.INT,], lltype.Void )
  806. WM_operator_properties_gesture_straightline = _c_external_function( "WM_operator_properties_gesture_straightline", [*struct:wmOperatorType,rffi.INT,], lltype.Void )
  807. WM_operator_properties_select_all = _c_external_function( "WM_operator_properties_select_all", [*struct:wmOperatorType,], lltype.Void )
  808. WM_operator_pystring = _c_external_function( "WM_operator_pystring", [*struct:bContext,*struct:wmOperatorType,*struct:PointerRNA,rffi.INT,], rffi.CHAR )
  809. WM_operator_bl_idname = _c_external_function( "WM_operator_bl_idname", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  810. WM_operator_py_idname = _c_external_function( "WM_operator_py_idname", [rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  811. WM_menutype_find = _c_external_function( "WM_menutype_find", [rffi.CCHARP,rffi.INT,], lltype.Void )
  812. WM_menutype_add = _c_external_function( "WM_menutype_add", [*struct:MenuType,], rffi.INT )
  813. WM_menutype_freelink = _c_external_function( "WM_menutype_freelink", [*struct:MenuType,], lltype.Void )
  814. WM_menutype_free = _c_external_function( "WM_menutype_free", [rffi.VOID,], lltype.Void )
  815. WM_border_select_invoke = _c_external_function( "WM_border_select_invoke", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  816. WM_border_select_modal = _c_external_function( "WM_border_select_modal", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  817. WM_gesture_circle_invoke = _c_external_function( "WM_gesture_circle_invoke", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  818. WM_gesture_circle_modal = _c_external_function( "WM_gesture_circle_modal", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  819. WM_gesture_lines_invoke = _c_external_function( "WM_gesture_lines_invoke", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  820. WM_gesture_lines_modal = _c_external_function( "WM_gesture_lines_modal", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  821. WM_gesture_lasso_invoke = _c_external_function( "WM_gesture_lasso_invoke", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  822. WM_gesture_lasso_modal = _c_external_function( "WM_gesture_lasso_modal", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  823. WM_gesture_straightline_invoke = _c_external_function( "WM_gesture_straightline_invoke", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  824. WM_gesture_straightline_modal = _c_external_function( "WM_gesture_straightline_modal", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  825. WM_OT_tweak_gesture = _c_external_function( "WM_OT_tweak_gesture", [*struct:wmOperatorType,], lltype.Void )
  826. WM_gesture_new = _c_external_function( "WM_gesture_new", [*struct:bContext,*struct:wmEvent,rffi.INT,], lltype.Void )
  827. WM_gesture_end = _c_external_function( "WM_gesture_end", [*struct:bContext,*struct:wmGesture,], lltype.Void )
  828. WM_gestures_remove = _c_external_function( "WM_gestures_remove", [*struct:bContext,], lltype.Void )
  829. WM_radial_control_invoke = _c_external_function( "WM_radial_control_invoke", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  830. WM_radial_control_modal = _c_external_function( "WM_radial_control_modal", [*struct:bContext,*struct:wmOperator,*struct:wmEvent,], rffi.INT )
  831. WM_OT_radial_control_partial = _c_external_function( "WM_OT_radial_control_partial", [*struct:wmOperatorType,], lltype.Void )
  832. WM_radial_control_string = _c_external_function( "WM_radial_control_string", [*struct:wmOperator,array,rffi.INT,], lltype.Void )
  833. WM_event_add_fileselect = _c_external_function( "WM_event_add_fileselect", [*struct:bContext,*struct:wmOperator,], lltype.Void )
  834. WM_event_fileselect_event = _c_external_function( "WM_event_fileselect_event", [*struct:bContext,rffi.VOID,rffi.INT,], lltype.Void )
  835. WM_event_start_drag = _c_external_function( "WM_event_start_drag", [*struct:bContext,rffi.INT,rffi.INT,rffi.VOID,double,], lltype.Void )
  836. WM_event_drag_image = _c_external_function( "WM_event_drag_image", [TODO typename pointer,TODO typename pointer,rffi.FLOAT,rffi.INT,rffi.INT,], lltype.Void )
  837. WM_dropbox_add = _c_external_function( "WM_dropbox_add", [ListBase,rffi.CCHARP,*function:poll,*function:copy,], lltype.Void )
  838. WM_dropboxmap_find = _c_external_function( "WM_dropboxmap_find", [rffi.CCHARP,rffi.INT,rffi.INT,], lltype.Void )
  839. wmSubWindowSet = _c_external_function( "wmSubWindowSet", [*struct:wmWindow,rffi.INT,], lltype.Void )
  840. wmSubWindowScissorSet = _c_external_function( "wmSubWindowScissorSet", [*struct:wmWindow,rffi.INT,*struct:rcti,], lltype.Void )
  841. wmFrustum = _c_external_function( "wmFrustum", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  842. wmOrtho = _c_external_function( "wmOrtho", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  843. wmOrtho2 = _c_external_function( "wmOrtho2", [rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  844. WM_set_framebuffer_index_color = _c_external_function( "WM_set_framebuffer_index_color", [rffi.INT,], lltype.Void )
  845. WM_framebuffer_to_index = _c_external_function( "WM_framebuffer_to_index", [rffi.INT,], rffi.INT )
  846. WM_jobs_get = _c_external_function( "WM_jobs_get", [*struct:wmWindowManager,*struct:wmWindow,rffi.VOID,rffi.CCHARP,rffi.INT,], lltype.Void )
  847. WM_jobs_test = _c_external_function( "WM_jobs_test", [*struct:wmWindowManager,rffi.VOID,], rffi.INT )
  848. WM_jobs_progress = _c_external_function( "WM_jobs_progress", [*struct:wmWindowManager,rffi.VOID,], rffi.FLOAT )
  849. WM_jobs_name = _c_external_function( "WM_jobs_name", [*struct:wmWindowManager,rffi.VOID,], rffi.CHAR )
  850. WM_jobs_customdata = _c_external_function( "WM_jobs_customdata", [TODO typename pointer,rffi.VOID,*function:free,], lltype.Void )
  851. WM_jobs_timer = _c_external_function( "WM_jobs_timer", [TODO typename pointer,double,rffi.INT,rffi.INT,], lltype.Void )
  852. WM_jobs_callbacks = _c_external_function( "WM_jobs_callbacks", [TODO typename pointer,*function:startjob,*function:initjob,*function:update,*function:endjob,], lltype.Void )
  853. WM_jobs_start = _c_external_function( "WM_jobs_start", [*struct:wmWindowManager,TODO typename pointer,], lltype.Void )
  854. WM_jobs_stop = _c_external_function( "WM_jobs_stop", [*struct:wmWindowManager,rffi.VOID,rffi.VOID,], lltype.Void )
  855. WM_jobs_kill = _c_external_function( "WM_jobs_kill", [*struct:wmWindowManager,rffi.VOID,rffi.VOID,], lltype.Void )
  856. WM_jobs_stop_all = _c_external_function( "WM_jobs_stop_all", [*struct:wmWindowManager,], lltype.Void )
  857. WM_clipboard_text_get = _c_external_function( "WM_clipboard_text_get", [rffi.INT,], rffi.CHAR )
  858. WM_clipboard_text_set = _c_external_function( "WM_clipboard_text_set", [rffi.CCHARP,rffi.INT,], lltype.Void )
  859. WM_progress_set = _c_external_function( "WM_progress_set", [*struct:wmWindow,rffi.FLOAT,], lltype.Void )
  860. WM_progress_clear = _c_external_function( "WM_progress_clear", [*struct:wmWindow,], lltype.Void )
  861. RNA_create = _c_external_function( "RNA_create", [rffi.VOID,], lltype.Void )
  862. RNA_define_free = _c_external_function( "RNA_define_free", [BlenderRNA,], lltype.Void )
  863. RNA_free = _c_external_function( "RNA_free", [BlenderRNA,], lltype.Void )
  864. RNA_define_verify_sdna = _c_external_function( "RNA_define_verify_sdna", [rffi.INT,], lltype.Void )
  865. RNA_init = _c_external_function( "RNA_init", [rffi.VOID,], lltype.Void )
  866. RNA_exit = _c_external_function( "RNA_exit", [rffi.VOID,], lltype.Void )
  867. RNA_def_struct = _c_external_function( "RNA_def_struct", [BlenderRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  868. RNA_def_struct_sdna = _c_external_function( "RNA_def_struct_sdna", [StructRNA,rffi.CCHARP,], lltype.Void )
  869. RNA_def_struct_sdna_from = _c_external_function( "RNA_def_struct_sdna_from", [StructRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  870. RNA_def_struct_name_property = _c_external_function( "RNA_def_struct_name_property", [StructRNA,PropertyRNA,], lltype.Void )
  871. RNA_def_struct_nested = _c_external_function( "RNA_def_struct_nested", [BlenderRNA,StructRNA,rffi.CCHARP,], lltype.Void )
  872. RNA_def_struct_flag = _c_external_function( "RNA_def_struct_flag", [StructRNA,rffi.INT,], lltype.Void )
  873. RNA_def_struct_clear_flag = _c_external_function( "RNA_def_struct_clear_flag", [StructRNA,rffi.INT,], lltype.Void )
  874. RNA_def_struct_refine_func = _c_external_function( "RNA_def_struct_refine_func", [StructRNA,rffi.CCHARP,], lltype.Void )
  875. RNA_def_struct_idprops_func = _c_external_function( "RNA_def_struct_idprops_func", [StructRNA,rffi.CCHARP,], lltype.Void )
  876. RNA_def_struct_register_funcs = _c_external_function( "RNA_def_struct_register_funcs", [StructRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  877. RNA_def_struct_path_func = _c_external_function( "RNA_def_struct_path_func", [StructRNA,rffi.CCHARP,], lltype.Void )
  878. RNA_def_struct_identifier = _c_external_function( "RNA_def_struct_identifier", [StructRNA,rffi.CCHARP,], lltype.Void )
  879. RNA_def_struct_ui_text = _c_external_function( "RNA_def_struct_ui_text", [StructRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  880. RNA_def_struct_ui_icon = _c_external_function( "RNA_def_struct_ui_icon", [StructRNA,rffi.INT,], lltype.Void )
  881. RNA_struct_free_extension = _c_external_function( "RNA_struct_free_extension", [StructRNA,ExtensionRNA,], lltype.Void )
  882. RNA_struct_free = _c_external_function( "RNA_struct_free", [BlenderRNA,StructRNA,], lltype.Void )
  883. RNA_def_boolean = _c_external_function( "RNA_def_boolean", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  884. RNA_def_boolean_array = _c_external_function( "RNA_def_boolean_array", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  885. RNA_def_boolean_layer = _c_external_function( "RNA_def_boolean_layer", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  886. RNA_def_boolean_layer_member = _c_external_function( "RNA_def_boolean_layer_member", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  887. RNA_def_boolean_vector = _c_external_function( "RNA_def_boolean_vector", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  888. RNA_def_int = _c_external_function( "RNA_def_int", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,rffi.INT,rffi.CCHARP,rffi.CCHARP,rffi.INT,rffi.INT,], lltype.Void )
  889. RNA_def_int_vector = _c_external_function( "RNA_def_int_vector", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.CCHARP,rffi.CCHARP,rffi.INT,rffi.INT,], lltype.Void )
  890. RNA_def_int_array = _c_external_function( "RNA_def_int_array", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.CCHARP,rffi.CCHARP,rffi.INT,rffi.INT,], lltype.Void )
  891. RNA_def_string = _c_external_function( "RNA_def_string", [StructOrFunctionRNA,rffi.CCHARP,rffi.CCHARP,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  892. RNA_def_string_file_path = _c_external_function( "RNA_def_string_file_path", [StructOrFunctionRNA,rffi.CCHARP,rffi.CCHARP,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  893. RNA_def_string_dir_path = _c_external_function( "RNA_def_string_dir_path", [StructOrFunctionRNA,rffi.CCHARP,rffi.CCHARP,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  894. RNA_def_string_file_name = _c_external_function( "RNA_def_string_file_name", [StructOrFunctionRNA,rffi.CCHARP,rffi.CCHARP,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  895. RNA_def_enum = _c_external_function( "RNA_def_enum", [StructOrFunctionRNA,rffi.CCHARP,EnumPropertyItem,rffi.INT,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  896. RNA_def_enum_funcs = _c_external_function( "RNA_def_enum_funcs", [PropertyRNA,EnumPropertyItemFunc,], lltype.Void )
  897. RNA_def_float = _c_external_function( "RNA_def_float", [StructOrFunctionRNA,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  898. RNA_def_float_vector = _c_external_function( "RNA_def_float_vector", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  899. RNA_def_float_vector_xyz = _c_external_function( "RNA_def_float_vector_xyz", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  900. RNA_def_float_color = _c_external_function( "RNA_def_float_color", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  901. RNA_def_float_matrix = _c_external_function( "RNA_def_float_matrix", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  902. RNA_def_float_rotation = _c_external_function( "RNA_def_float_rotation", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  903. RNA_def_float_array = _c_external_function( "RNA_def_float_array", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  904. RNA_def_float_percentage = _c_external_function( "RNA_def_float_percentage", [StructOrFunctionRNA,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  905. RNA_def_float_factor = _c_external_function( "RNA_def_float_factor", [StructOrFunctionRNA,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.CCHARP,rffi.CCHARP,rffi.FLOAT,rffi.FLOAT,], lltype.Void )
  906. RNA_def_pointer = _c_external_function( "RNA_def_pointer", [StructOrFunctionRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  907. RNA_def_pointer_runtime = _c_external_function( "RNA_def_pointer_runtime", [StructOrFunctionRNA,rffi.CCHARP,StructRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  908. RNA_def_collection = _c_external_function( "RNA_def_collection", [StructOrFunctionRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  909. RNA_def_collection_runtime = _c_external_function( "RNA_def_collection_runtime", [StructOrFunctionRNA,rffi.CCHARP,StructRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  910. RNA_def_property = _c_external_function( "RNA_def_property", [StructOrFunctionRNA,rffi.CCHARP,rffi.INT,rffi.INT,], lltype.Void )
  911. RNA_def_property_boolean_sdna = _c_external_function( "RNA_def_property_boolean_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.INT,], lltype.Void )
  912. RNA_def_property_boolean_negative_sdna = _c_external_function( "RNA_def_property_boolean_negative_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.INT,], lltype.Void )
  913. RNA_def_property_int_sdna = _c_external_function( "RNA_def_property_int_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  914. RNA_def_property_float_sdna = _c_external_function( "RNA_def_property_float_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  915. RNA_def_property_string_sdna = _c_external_function( "RNA_def_property_string_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  916. RNA_def_property_enum_sdna = _c_external_function( "RNA_def_property_enum_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  917. RNA_def_property_enum_bitflag_sdna = _c_external_function( "RNA_def_property_enum_bitflag_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  918. RNA_def_property_pointer_sdna = _c_external_function( "RNA_def_property_pointer_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  919. RNA_def_property_collection_sdna = _c_external_function( "RNA_def_property_collection_sdna", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  920. RNA_def_property_flag = _c_external_function( "RNA_def_property_flag", [PropertyRNA,rffi.INT,], lltype.Void )
  921. RNA_def_property_clear_flag = _c_external_function( "RNA_def_property_clear_flag", [PropertyRNA,rffi.INT,], lltype.Void )
  922. RNA_def_property_array = _c_external_function( "RNA_def_property_array", [PropertyRNA,rffi.INT,], lltype.Void )
  923. RNA_def_property_multi_array = _c_external_function( "RNA_def_property_multi_array", [PropertyRNA,rffi.INT,array,], lltype.Void )
  924. RNA_def_property_range = _c_external_function( "RNA_def_property_range", [PropertyRNA,double,double,], lltype.Void )
  925. RNA_def_property_enum_items = _c_external_function( "RNA_def_property_enum_items", [PropertyRNA,EnumPropertyItem,], lltype.Void )
  926. RNA_def_property_string_maxlength = _c_external_function( "RNA_def_property_string_maxlength", [PropertyRNA,rffi.INT,], lltype.Void )
  927. RNA_def_property_struct_type = _c_external_function( "RNA_def_property_struct_type", [PropertyRNA,rffi.CCHARP,], lltype.Void )
  928. RNA_def_property_struct_runtime = _c_external_function( "RNA_def_property_struct_runtime", [PropertyRNA,StructRNA,], lltype.Void )
  929. RNA_def_property_boolean_default = _c_external_function( "RNA_def_property_boolean_default", [PropertyRNA,rffi.INT,], lltype.Void )
  930. RNA_def_property_boolean_array_default = _c_external_function( "RNA_def_property_boolean_array_default", [PropertyRNA,rffi.INT,], lltype.Void )
  931. RNA_def_property_int_default = _c_external_function( "RNA_def_property_int_default", [PropertyRNA,rffi.INT,], lltype.Void )
  932. RNA_def_property_int_array_default = _c_external_function( "RNA_def_property_int_array_default", [PropertyRNA,rffi.INT,], lltype.Void )
  933. RNA_def_property_float_default = _c_external_function( "RNA_def_property_float_default", [PropertyRNA,rffi.FLOAT,], lltype.Void )
  934. RNA_def_property_float_array_default = _c_external_function( "RNA_def_property_float_array_default", [PropertyRNA,rffi.FLOAT,], lltype.Void )
  935. RNA_def_property_enum_default = _c_external_function( "RNA_def_property_enum_default", [PropertyRNA,rffi.INT,], lltype.Void )
  936. RNA_def_property_string_default = _c_external_function( "RNA_def_property_string_default", [PropertyRNA,rffi.CCHARP,], lltype.Void )
  937. RNA_def_property_ui_text = _c_external_function( "RNA_def_property_ui_text", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  938. RNA_def_property_ui_range = _c_external_function( "RNA_def_property_ui_range", [PropertyRNA,double,double,double,rffi.INT,], lltype.Void )
  939. RNA_def_property_ui_icon = _c_external_function( "RNA_def_property_ui_icon", [PropertyRNA,rffi.INT,rffi.INT,], lltype.Void )
  940. RNA_def_property_update = _c_external_function( "RNA_def_property_update", [PropertyRNA,rffi.INT,rffi.CCHARP,], lltype.Void )
  941. RNA_def_property_editable_func = _c_external_function( "RNA_def_property_editable_func", [PropertyRNA,rffi.CCHARP,], lltype.Void )
  942. RNA_def_property_editable_array_func = _c_external_function( "RNA_def_property_editable_array_func", [PropertyRNA,rffi.CCHARP,], lltype.Void )
  943. RNA_def_property_dynamic_array_funcs = _c_external_function( "RNA_def_property_dynamic_array_funcs", [PropertyRNA,rffi.CCHARP,], lltype.Void )
  944. RNA_def_property_boolean_funcs = _c_external_function( "RNA_def_property_boolean_funcs", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  945. RNA_def_property_int_funcs = _c_external_function( "RNA_def_property_int_funcs", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  946. RNA_def_property_float_funcs = _c_external_function( "RNA_def_property_float_funcs", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  947. RNA_def_property_enum_funcs = _c_external_function( "RNA_def_property_enum_funcs", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  948. RNA_def_property_string_funcs = _c_external_function( "RNA_def_property_string_funcs", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  949. RNA_def_property_pointer_funcs = _c_external_function( "RNA_def_property_pointer_funcs", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  950. RNA_def_property_collection_funcs = _c_external_function( "RNA_def_property_collection_funcs", [PropertyRNA,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  951. RNA_def_property_srna = _c_external_function( "RNA_def_property_srna", [PropertyRNA,rffi.CCHARP,], lltype.Void )
  952. RNA_def_function = _c_external_function( "RNA_def_function", [StructRNA,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  953. RNA_def_function_runtime = _c_external_function( "RNA_def_function_runtime", [StructRNA,rffi.CCHARP,CallFunc,], lltype.Void )
  954. RNA_def_function_return = _c_external_function( "RNA_def_function_return", [FunctionRNA,PropertyRNA,], lltype.Void )
  955. RNA_def_function_output = _c_external_function( "RNA_def_function_output", [FunctionRNA,PropertyRNA,], lltype.Void )
  956. RNA_def_function_flag = _c_external_function( "RNA_def_function_flag", [FunctionRNA,rffi.INT,], lltype.Void )
  957. RNA_def_function_ui_description = _c_external_function( "RNA_def_function_ui_description", [FunctionRNA,rffi.CCHARP,], lltype.Void )
  958. RNA_enum_item_add = _c_external_function( "RNA_enum_item_add", [**?,rffi.INT,EnumPropertyItem,], lltype.Void )
  959. RNA_enum_item_add_separator = _c_external_function( "RNA_enum_item_add_separator", [**?,rffi.INT,], lltype.Void )
  960. RNA_enum_items_add = _c_external_function( "RNA_enum_items_add", [**?,rffi.INT,EnumPropertyItem,], lltype.Void )
  961. RNA_enum_items_add_value = _c_external_function( "RNA_enum_items_add_value", [**?,rffi.INT,EnumPropertyItem,rffi.INT,], lltype.Void )
  962. RNA_enum_item_end = _c_external_function( "RNA_enum_item_end", [**?,rffi.INT,], lltype.Void )
  963. RNA_def_struct_duplicate_pointers = _c_external_function( "RNA_def_struct_duplicate_pointers", [StructRNA,], lltype.Void )
  964. RNA_def_struct_free_pointers = _c_external_function( "RNA_def_struct_free_pointers", [StructRNA,], lltype.Void )
  965. RNA_def_func_duplicate_pointers = _c_external_function( "RNA_def_func_duplicate_pointers", [FunctionRNA,], lltype.Void )
  966. RNA_def_func_free_pointers = _c_external_function( "RNA_def_func_free_pointers", [FunctionRNA,], lltype.Void )
  967. RNA_def_property_duplicate_pointers = _c_external_function( "RNA_def_property_duplicate_pointers", [StructOrFunctionRNA,PropertyRNA,], lltype.Void )
  968. RNA_def_property_free_pointers = _c_external_function( "RNA_def_property_free_pointers", [PropertyRNA,], lltype.Void )
  969. RNA_def_property_free_identifier = _c_external_function( "RNA_def_property_free_identifier", [StructOrFunctionRNA,rffi.CCHARP,], rffi.INT )
  970. GPU_state_init = _c_external_function( "GPU_state_init", [rffi.VOID,], lltype.Void )
  971. GPU_state_print = _c_external_function( "GPU_state_print", [rffi.VOID,], lltype.Void )
  972. GPU_begin_object_materials = _c_external_function( "GPU_begin_object_materials", [*struct:View3D,*struct:RegionView3D,*struct:Scene,*struct:Object,rffi.INT,rffi.INT,], lltype.Void )
  973. GPU_end_object_materials = _c_external_function( "GPU_end_object_materials", [rffi.VOID,], lltype.Void )
  974. GPU_enable_material = _c_external_function( "GPU_enable_material", [rffi.INT,rffi.VOID,], rffi.INT )
  975. GPU_disable_material = _c_external_function( "GPU_disable_material", [rffi.VOID,], lltype.Void )
  976. GPU_set_material_blend_mode = _c_external_function( "GPU_set_material_blend_mode", [rffi.INT,], lltype.Void )
  977. GPU_get_material_blend_mode = _c_external_function( "GPU_get_material_blend_mode", [rffi.VOID,], rffi.INT )
  978. GPU_set_tpage = _c_external_function( "GPU_set_tpage", [*struct:MTFace,rffi.INT,], rffi.INT )
  979. GPU_default_lights = _c_external_function( "GPU_default_lights", [rffi.VOID,], rffi.INT )
  980. GPU_scene_object_lights = _c_external_function( "GPU_scene_object_lights", [*struct:Scene,*struct:Object,rffi.INT,array,rffi.INT,], rffi.INT )
  981. GPU_render_text = _c_external_function( "GPU_render_text", [*struct:MTFace,rffi.INT,rffi.CCHARP,rffi.INT,rffi.INT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.FLOAT,rffi.INT,], lltype.Void )
  982. GPU_set_mipmap = _c_external_function( "GPU_set_mipmap", [rffi.INT,], lltype.Void )
  983. GPU_set_linear_mipmap = _c_external_function( "GPU_set_linear_mipmap", [rffi.INT,], lltype.Void )
  984. GPU_paint_set_mipmap = _c_external_function( "GPU_paint_set_mipmap", [rffi.INT,], lltype.Void )
  985. GPU_paint_update_image = _c_external_function( "GPU_paint_update_image", [*struct:Image,rffi.INT,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], lltype.Void )
  986. GPU_update_images_framechange = _c_external_function( "GPU_update_images_framechange", [rffi.VOID,], lltype.Void )
  987. GPU_update_image_time = _c_external_function( "GPU_update_image_time", [*struct:Image,double,], rffi.INT )
  988. GPU_verify_image = _c_external_function( "GPU_verify_image", [*struct:Image,*struct:ImageUser,rffi.INT,rffi.INT,rffi.INT,rffi.INT,], rffi.INT )
  989. GPU_free_image = _c_external_function( "GPU_free_image", [*struct:Image,], lltype.Void )
  990. GPU_free_images = _c_external_function( "GPU_free_images", [rffi.VOID,], lltype.Void )
  991. GPU_free_images_anim = _c_external_function( "GPU_free_images_anim", [rffi.VOID,], lltype.Void )
  992. GPU_free_smoke = _c_external_function( "GPU_free_smoke", [*struct:SmokeModifierData,], lltype.Void )
  993. GPU_create_smoke = _c_external_function( "GPU_create_smoke", [*struct:SmokeModifierData,rffi.INT,], lltype.Void )
  994. GPU_free_unused_buffers = _c_external_function( "GPU_free_unused_buffers", [rffi.VOID,], lltype.Void )
  995. GPU_extensions_disable = _c_external_function( "GPU_extensions_disable", [rffi.VOID,], lltype.Void )
  996. GPU_extensions_init = _c_external_function( "GPU_extensions_init", [rffi.VOID,], lltype.Void )
  997. GPU_extensions_exit = _c_external_function( "GPU_extensions_exit", [rffi.VOID,], lltype.Void )
  998. GPU_print_error = _c_external_function( "GPU_print_error", [rffi.CCHARP,], rffi.INT )
  999. GPU_glsl_support = _c_external_function( "GPU_glsl_support", [rffi.VOID,], rffi.INT )
  1000. GPU_non_power_of_two_support = _c_external_function( "GPU_non_power_of_two_support", [rffi.VOID,], rffi.INT )
  1001. GPU_color_depth = _c_external_function( "GPU_color_depth", [rffi.VOID,], rffi.INT )
  1002. GPU_type_matches = _c_external_function( "GPU_type_matches", [GPUDeviceType,GPUOSType,GPUDriverType,], rffi.INT )
  1003. GPU_texture_create_1D = _c_external_function( "GPU_texture_create_1D", [rffi.INT,rffi.FLOAT,], lltype.Void )
  1004. GPU_texture_create_2D = _c_external_function( "GPU_texture_create_2D", [rffi.INT,rffi.INT,rffi.FLOAT,], lltype.Void )
  1005. GPU_texture_create_3D = _c_external_function( "GPU_texture_create_3D", [rffi.INT,rffi.INT,rffi.INT,rffi.FLOAT,], lltype.Void )
  1006. GPU_texture_create_depth = _c_external_function( "GPU_texture_create_depth", [rffi.INT,rffi.INT,], lltype.Void )
  1007. GPU_texture_from_blender = _c_external_function( "GPU_texture_from_blender", [*struct:Image,*struct:ImageUser,double,rffi.INT,], lltype.Void )
  1008. GPU_texture_free = _c_external_function( "GPU_texture_free", [GPUTexture,], lltype.Void )
  1009. GPU_texture_ref = _c_external_function( "GPU_texture_ref", [GPUTexture,], lltype.Void )
  1010. GPU_texture_bind = _c_external_function( "GPU_texture_bind", [GPUTexture,rffi.INT,], lltype.Void )
  1011. GPU_texture_unbind = _c_external_function( "GPU_texture_unbind", [GPUTexture,], lltype.Void )
  1012. GPU_texture_framebuffer = _c_external_function( "GPU_texture_framebuffer", [GPUTexture,], lltype.Void )
  1013. GPU_texture_target = _c_external_function( "GPU_texture_target", [GPUTexture,], rffi.INT )
  1014. GPU_texture_opengl_width = _c_external_function( "GPU_texture_opengl_width", [GPUTexture,], rffi.INT )
  1015. GPU_texture_opengl_height = _c_external_function( "GPU_texture_opengl_height", [GPUTexture,], rffi.INT )
  1016. GPU_framebuffer_create = _c_external_function( "GPU_framebuffer_create", [], lltype.Void )
  1017. GPU_framebuffer_texture_attach = _c_external_function( "GPU_framebuffer_texture_attach", [GPUFrameBuffer,GPUTexture,], rffi.INT )
  1018. GPU_framebuffer_texture_detach = _c_external_function( "GPU_framebuffer_texture_detach", [GPUFrameBuffer,GPUTexture,], lltype.Void )
  1019. GPU_framebuffer_texture_bind = _c_external_function( "GPU_framebuffer_texture_bind", [GPUFrameBuffer,GPUTexture,], lltype.Void )
  1020. GPU_framebuffer_texture_unbind = _c_external_function( "GPU_framebuffer_texture_unbind", [GPUFrameBuffer,GPUTexture,], lltype.Void )
  1021. GPU_framebuffer_free = _c_external_function( "GPU_framebuffer_free", [GPUFrameBuffer,], lltype.Void )
  1022. GPU_framebuffer_restore = _c_external_function( "GPU_framebuffer_restore", [], lltype.Void )
  1023. GPU_offscreen_create = _c_external_function( "GPU_offscreen_create", [rffi.INT,rffi.INT,], lltype.Void )
  1024. GPU_offscreen_free = _c_external_function( "GPU_offscreen_free", [GPUOffScreen,], lltype.Void )
  1025. GPU_offscreen_bind = _c_external_function( "GPU_offscreen_bind", [GPUOffScreen,], lltype.Void )
  1026. GPU_offscreen_unbind = _c_external_function( "GPU_offscreen_unbind", [GPUOffScreen,], lltype.Void )
  1027. GPU_shader_create = _c_external_function( "GPU_shader_create", [rffi.CCHARP,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  1028. GPU_shader_free = _c_external_function( "GPU_shader_free", [GPUShader,], lltype.Void )
  1029. GPU_shader_bind = _c_external_function( "GPU_shader_bind", [GPUShader,], lltype.Void )
  1030. GPU_shader_unbind = _c_external_function( "GPU_shader_unbind", [], lltype.Void )
  1031. GPU_shader_get_uniform = _c_external_function( "GPU_shader_get_uniform", [GPUShader,rffi.CCHARP,], rffi.INT )
  1032. GPU_shader_uniform_vector = _c_external_function( "GPU_shader_uniform_vector", [GPUShader,rffi.INT,rffi.INT,rffi.INT,rffi.FLOAT,], lltype.Void )
  1033. GPU_shader_uniform_texture = _c_external_function( "GPU_shader_uniform_texture", [GPUShader,rffi.INT,GPUTexture,], lltype.Void )
  1034. GPU_shader_get_attribute = _c_external_function( "GPU_shader_get_attribute", [GPUShader,rffi.CCHARP,], rffi.INT )
  1035. SYS_GetSystem = _c_external_function( "SYS_GetSystem", [rffi.VOID,], lltype.Void )
  1036. SYS_DeleteSystem = _c_external_function( "SYS_DeleteSystem", [SYS_SystemHandle,], lltype.Void )
  1037. SYS_GetCommandLineInt = _c_external_function( "SYS_GetCommandLineInt", [SYS_SystemHandle,rffi.CCHARP,rffi.INT,], rffi.INT )
  1038. SYS_GetCommandLineFloat = _c_external_function( "SYS_GetCommandLineFloat", [SYS_SystemHandle,rffi.CCHARP,rffi.FLOAT,], rffi.FLOAT )
  1039. SYS_GetCommandLineString = _c_external_function( "SYS_GetCommandLineString", [SYS_SystemHandle,rffi.CCHARP,rffi.CCHARP,], rffi.CHAR )
  1040. SYS_WriteCommandLineInt = _c_external_function( "SYS_WriteCommandLineInt", [SYS_SystemHandle,rffi.CCHARP,rffi.INT,], lltype.Void )
  1041. SYS_WriteCommandLineFloat = _c_external_function( "SYS_WriteCommandLineFloat", [SYS_SystemHandle,rffi.CCHARP,rffi.FLOAT,], lltype.Void )
  1042. SYS_WriteCommandLineString = _c_external_function( "SYS_WriteCommandLineString", [SYS_SystemHandle,rffi.CCHARP,rffi.CCHARP,], lltype.Void )
  1043. print_help = _c_external_function( "print_help", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1044. print_version = _c_external_function( "print_version", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1045. pluginapi_force_ref = _c_external_function( "pluginapi_force_ref", [rffi.VOID,], rffi.INT )
  1046. setCallbacks = _c_external_function( "setCallbacks", [rffi.VOID,], lltype.Void )
  1047. PIL_check_seconds_timer = _c_external_function( "PIL_check_seconds_timer", [rffi.VOID,], lltype.Void )
  1048. fpe_handler = _c_external_function( "fpe_handler", [rffi.INT,], lltype.Void )
  1049. blender_esc = _c_external_function( "blender_esc", [rffi.INT,], lltype.Void )
  1050. print_version = _c_external_function( "print_version", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1051. print_help = _c_external_function( "print_help", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1052. end_arguments = _c_external_function( "end_arguments", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1053. enable_python = _c_external_function( "enable_python", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1054. disable_python = _c_external_function( "disable_python", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1055. background_mode = _c_external_function( "background_mode", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1056. debug_mode = _c_external_function( "debug_mode", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1057. set_fpe = _c_external_function( "set_fpe", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1058. playback_mode = _c_external_function( "playback_mode", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1059. prefsize = _c_external_function( "prefsize", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1060. with_borders = _c_external_function( "with_borders", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1061. without_borders = _c_external_function( "without_borders", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1062. register_extension = _c_external_function( "register_extension", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1063. no_joystick = _c_external_function( "no_joystick", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1064. no_glsl = _c_external_function( "no_glsl", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1065. no_audio = _c_external_function( "no_audio", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1066. set_audio = _c_external_function( "set_audio", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1067. set_output = _c_external_function( "set_output", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1068. set_engine = _c_external_function( "set_engine", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1069. set_image_type = _c_external_function( "set_image_type", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1070. set_threads = _c_external_function( "set_threads", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1071. set_extension = _c_external_function( "set_extension", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1072. set_ge_parameters = _c_external_function( "set_ge_parameters", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1073. render_frame = _c_external_function( "render_frame", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1074. render_animation = _c_external_function( "render_animation", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1075. set_scene = _c_external_function( "set_scene", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1076. set_start_frame = _c_external_function( "set_start_frame", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1077. set_end_frame = _c_external_function( "set_end_frame", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1078. set_skip_frame = _c_external_function( "set_skip_frame", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1079. run_python = _c_external_function( "run_python", [rffi.INT,**?,rffi.VOID,], lltype.Void )
  1080. run_python_console = _c_external_function( "run_python_console", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1081. load_file = _c_external_function( "load_file", [rffi.INT,**?,rffi.VOID,], rffi.INT )
  1082. setupArguments = _c_external_function( "setupArguments", [bContext,bArgs,SYS_SystemHandle,], lltype.Void )
  1083. main = _c_external_function( "main", [rffi.INT,**?,], rffi.INT )
  1084. error_cb = _c_external_function( "error_cb", [rffi.CCHARP,], lltype.Void )
  1085. mem_error_cb = _c_external_function( "mem_error_cb", [rffi.CCHARP,], lltype.Void )
  1086. setCallbacks = _c_external_function( "setCallbacks", [], lltype.Void )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement