Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
7a660cb1
Unverified
Commit
7a660cb1
authored
Jan 29, 2024
by
Mohamadreza Nakhleh
Committed by
GitHub
Jan 28, 2024
Browse files
Set debug hook fix (#499)
* (fix) SetDebugHook returns -1 anyway * (fix) typo
parent
ded4dc5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Lua.cs
View file @
7a660cb1
...
...
@@ -944,6 +944,7 @@ namespace NLua
{
_hookCallback
=
DebugHookCallback
;
_luaState
.
SetHook
(
_hookCallback
,
mask
,
count
);
return
0
;
}
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment