Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Update to v3.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Jul 25, 2022
1 parent 60eea9a commit 6f133aa
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -10800,6 +10800,17 @@ func (pointer *SceneLuaVM) SetScriptValue(script *Script, name string, value *Lu
return bool(retval)
}

// SetScriptValueWithNotify ...
func (pointer *SceneLuaVM) SetScriptValueWithNotify(script *Script, name string, value *LuaObject, notify bool) bool {
scriptToC := script.h
nameToC, idFinnameToC := wrapString(name)
defer idFinnameToC()
valueToC := value.h
notifyToC := C.bool(notify)
retval := C.WrapSetScriptValueSceneLuaVMWithNotify(pointer.h, scriptToC, nameToC, valueToC, notifyToC)
return bool(retval)
}

// Call ...
func (pointer *SceneLuaVM) Call(script *Script, function string, args *LuaObjectList) (bool, *LuaObjectList) {
scriptToC := script.h
Expand Down
Binary file modified linux/libharfang.a
Binary file not shown.
Binary file modified linux/libhg_go.a
Binary file not shown.
Binary file modified windows/libharfang.a
Binary file not shown.
Binary file modified windows/libhg_go.a
Binary file not shown.
1 change: 1 addition & 0 deletions wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -1435,6 +1435,7 @@ extern size_t WrapGetScriptCountSceneLuaVM(WrapSceneLuaVM this_);
extern WrapLuaObject WrapGetScriptEnvSceneLuaVM(WrapSceneLuaVM this_, const WrapScript script);
extern WrapLuaObject WrapGetScriptValueSceneLuaVM(WrapSceneLuaVM this_, const WrapScript script, const char *name);
extern bool WrapSetScriptValueSceneLuaVM(WrapSceneLuaVM this_, const WrapScript script, const char *name, const WrapLuaObject value);
extern bool WrapSetScriptValueSceneLuaVMWithNotify(WrapSceneLuaVM this_, const WrapScript script, const char *name, const WrapLuaObject value, bool notify);
extern bool WrapCallSceneLuaVM(WrapSceneLuaVM this_, const WrapScript script, const char *function, const WrapLuaObjectList args, WrapLuaObjectList ret_vals);
extern bool WrapCallSceneLuaVMWithSliceOfArgs(WrapSceneLuaVM this_, const WrapScript script, const char *function, size_t SliceOfargsToCSize,
WrapLuaObject *SliceOfargsToCBuf, WrapLuaObjectList ret_vals);
Expand Down

0 comments on commit 6f133aa

Please sign in to comment.