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

Commit 6f133aa

Browse files
author
thomas
committed
Update to v3.2.3
1 parent 60eea9a commit 6f133aa

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

bind.go

+11
Original file line numberDiff line numberDiff line change
@@ -10800,6 +10800,17 @@ func (pointer *SceneLuaVM) SetScriptValue(script *Script, name string, value *Lu
1080010800
return bool(retval)
1080110801
}
1080210802

10803+
// SetScriptValueWithNotify ...
10804+
func (pointer *SceneLuaVM) SetScriptValueWithNotify(script *Script, name string, value *LuaObject, notify bool) bool {
10805+
scriptToC := script.h
10806+
nameToC, idFinnameToC := wrapString(name)
10807+
defer idFinnameToC()
10808+
valueToC := value.h
10809+
notifyToC := C.bool(notify)
10810+
retval := C.WrapSetScriptValueSceneLuaVMWithNotify(pointer.h, scriptToC, nameToC, valueToC, notifyToC)
10811+
return bool(retval)
10812+
}
10813+
1080310814
// Call ...
1080410815
func (pointer *SceneLuaVM) Call(script *Script, function string, args *LuaObjectList) (bool, *LuaObjectList) {
1080510816
scriptToC := script.h

linux/libharfang.a

-336 KB
Binary file not shown.

linux/libhg_go.a

764 Bytes
Binary file not shown.

windows/libharfang.a

4.31 KB
Binary file not shown.

windows/libhg_go.a

356 Bytes
Binary file not shown.

wrapper.h

+1
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,7 @@ extern size_t WrapGetScriptCountSceneLuaVM(WrapSceneLuaVM this_);
14351435
extern WrapLuaObject WrapGetScriptEnvSceneLuaVM(WrapSceneLuaVM this_, const WrapScript script);
14361436
extern WrapLuaObject WrapGetScriptValueSceneLuaVM(WrapSceneLuaVM this_, const WrapScript script, const char *name);
14371437
extern bool WrapSetScriptValueSceneLuaVM(WrapSceneLuaVM this_, const WrapScript script, const char *name, const WrapLuaObject value);
1438+
extern bool WrapSetScriptValueSceneLuaVMWithNotify(WrapSceneLuaVM this_, const WrapScript script, const char *name, const WrapLuaObject value, bool notify);
14381439
extern bool WrapCallSceneLuaVM(WrapSceneLuaVM this_, const WrapScript script, const char *function, const WrapLuaObjectList args, WrapLuaObjectList ret_vals);
14391440
extern bool WrapCallSceneLuaVMWithSliceOfArgs(WrapSceneLuaVM this_, const WrapScript script, const char *function, size_t SliceOfargsToCSize,
14401441
WrapLuaObject *SliceOfargsToCBuf, WrapLuaObjectList ret_vals);

0 commit comments

Comments
 (0)