mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
ccbf3a1fc7
commit
bb1d38f8fa
@ -23,7 +23,7 @@ namespace pkpy{
|
||||
});
|
||||
|
||||
#define BIND_VEC_FUNCTION_1(D, name) \
|
||||
vm->bind_method<0>(type, #name, [](VM* vm, ArgsView args){ \
|
||||
vm->bind_method<1>(type, #name, [](VM* vm, ArgsView args){ \
|
||||
PyVec##D& self = _CAST(PyVec##D&, args[0]); \
|
||||
PyVec##D& other = CAST(PyVec##D&, args[1]); \
|
||||
return VAR(self.name(other)); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user