소스 검색

add sokol_log.h to odin bindings generator

Andre Weissflog 2 년 전
부모
커밋
17611db591
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      bindgen/gen_odin.py

+ 2 - 0
bindgen/gen_odin.py

@@ -12,6 +12,7 @@ c_root = f'{bindings_root}/c'
 module_root = f'{bindings_root}/sokol'
 
 module_names = {
+    'slog_':    'log',
     'sg_':      'gfx',
     'sapp_':    'app',
     'sapp_sg':  'glue',
@@ -65,6 +66,7 @@ system_libs = {
 }
 
 c_source_names = {
+    'slog_':    'sokol_log.c',
     'sg_':      'sokol_gfx.c',
     'sapp_':    'sokol_app.c',
     'sapp_sg':  'sokol_glue.c',