mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
214af91120
commit
fd224adb68
@ -4,14 +4,6 @@
|
|||||||
|
|
||||||
namespace pkpy{
|
namespace pkpy{
|
||||||
|
|
||||||
template<typename T>
|
|
||||||
struct OpaquePointer{
|
|
||||||
T* ptr;
|
|
||||||
OpaquePointer(T* ptr): ptr(ptr){}
|
|
||||||
|
|
||||||
T* operator->(){ return ptr; }
|
|
||||||
};
|
|
||||||
|
|
||||||
struct NativeProxyFuncCBase {
|
struct NativeProxyFuncCBase {
|
||||||
virtual PyObject* operator()(VM* vm, ArgsView args) = 0;
|
virtual PyObject* operator()(VM* vm, ArgsView args) = 0;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user