compileaction.cpp
来自「这是一个用VC++开发的flashsource端的程序」· C++ 代码 · 共 37 行
CPP
37 行
#include <strstream>#ifndef WIN32 #include <unistd.h>#endif#include <time.h>#include <stdio.h>#include "compile.h"extern int SWF_versionNum;Buffer compileSWFActionCode(char *script){ Buffer b; /* yydebug = 1; */ if(SWF_versionNum == 4) { swf4ParseInit(script, 0); if(swf4parse((void *)&b) != 0) return NULL; } else { swf5ParseInit(script, 0); if(swf5parse((void *)&b) != 0) return NULL; } return b; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?