genexp.pl
来自「Simple DirectMedia Layer - Simple Direct」· PL 代码 · 共 19 行
PL
19 行
#!/usr/bin/perl## Program to take a set of header files and generate MWCC export definitionswhile ( ($file = shift(@ARGV)) ) { if ( ! defined(open(FILE, $file)) ) { warn "Couldn't open $file: $!\n"; next; } $file =~ s,.*/,,; while (<FILE>) { if ( / DECLSPEC.*SDLCALL ([^\s\(]+)/ ) { print "_$1\n"; } } close(FILE);}# Special exports not public in the header files
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?