mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-22 20:40:18 +00:00
Update common.h
This commit is contained in:
parent
afc0b8c58c
commit
fec9a3e621
@ -242,7 +242,7 @@ struct PyVar final{
|
|||||||
return reinterpret_cast<PyObject*>(_1);
|
return reinterpret_cast<PyObject*>(_1);
|
||||||
}
|
}
|
||||||
|
|
||||||
i64 hash() const { return _1; }
|
i64 hash() const { return _0 + _1; }
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
obj_get_t<T> obj_get();
|
obj_get_t<T> obj_get();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user