mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
Update obj.h
This commit is contained in:
parent
6863f63a8f
commit
db725f8b5f
@ -172,7 +172,7 @@ obj_get_t<T> PyVar::obj_get(){
|
|||||||
if constexpr(is_sso_v<T>){
|
if constexpr(is_sso_v<T>){
|
||||||
return as<T>();
|
return as<T>();
|
||||||
}else{
|
}else{
|
||||||
return ((Py_<T>*)(get()))->_value;
|
return ((Py_<T>*)(_1))->_value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user