Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
b404c965
Commit
b404c965
authored
Oct 26, 2023
by
Alam Ed Arias
Browse files
Options
Downloads
Patches
Plain Diff
Update lua_hooklib.c
You need to "void" the functions
parent
79aaf3e6
No related branches found
No related tags found
2 merge requests
!2355
fix newer versions of mixerx
,
!1932
Implement perfstats options for LUAh_PreThinkFrame and LUAh_PostThinkFrame
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lua_hooklib.c
+3
-3
3 additions, 3 deletions
src/lua_hooklib.c
with
3 additions
and
3 deletions
src/lua_hooklib.c
+
3
−
3
View file @
b404c965
...
...
@@ -718,17 +718,17 @@ static void hook_think_frame(int type)
}
}
void
LUA_HookPreThinkFrame
()
void
LUA_HookPreThinkFrame
(
void
)
{
hook_think_frame
(
HOOK
(
PreThinkFrame
));
}
void
LUA_HookThinkFrame
()
void
LUA_HookThinkFrame
(
void
)
{
hook_think_frame
(
HOOK
(
ThinkFrame
));
}
void
LUA_HookPostThinkFrame
()
void
LUA_HookPostThinkFrame
(
void
)
{
hook_think_frame
(
HOOK
(
PostThinkFrame
));
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment