mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 11:32:29 +00:00
refactor(thunderbrew): use static size members instead of null-termination to delimit FrameScript_Method arrays
This commit is contained in:
parent
32cfe08d0b
commit
2fb754a83a
7 changed files with 19 additions and 21 deletions
|
|
@ -6,11 +6,12 @@
|
|||
|
||||
class CGVideoOptions {
|
||||
public:
|
||||
// Static variables
|
||||
static FrameScript_Method s_ScriptFunctions[];
|
||||
// Static variables
|
||||
static FrameScript_Method s_ScriptFunctions[];
|
||||
static size_t CGVideoOptions::s_NumScriptFunctions;
|
||||
|
||||
// Static functions
|
||||
static void RegisterScriptFunctions();
|
||||
// Static functions
|
||||
static void RegisterScriptFunctions();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue