mirror of
https://github.com/Relintai/gdnative_python.git
synced 2025-01-06 15:19:40 +01:00
Remove rpc remnant.
This commit is contained in:
parent
6d3d236ce9
commit
d0d72b9ae9
@ -79,9 +79,6 @@ cdef Dictionary _build_method_info(object meth, object methname):
|
|||||||
# TODO: use annotation to determine return type ?
|
# TODO: use annotation to determine return type ?
|
||||||
methinfo["return"] = None
|
methinfo["return"] = None
|
||||||
methinfo["flags"] = PANDEMONIUM_METHOD_FLAG_FROM_SCRIPT
|
methinfo["flags"] = PANDEMONIUM_METHOD_FLAG_FROM_SCRIPT
|
||||||
methinfo["rpc_mode"] = getattr(
|
|
||||||
meth, "__rpc", PANDEMONIUM_METHOD_RPC_MODE_DISABLED
|
|
||||||
)
|
|
||||||
return methinfo
|
return methinfo
|
||||||
|
|
||||||
|
|
||||||
@ -93,7 +90,6 @@ cdef Dictionary _build_property_info(object prop):
|
|||||||
propinfo["hint_string"] = prop.hint_string
|
propinfo["hint_string"] = prop.hint_string
|
||||||
propinfo["usage"] = prop.usage
|
propinfo["usage"] = prop.usage
|
||||||
propinfo["default_value"] = prop.default
|
propinfo["default_value"] = prop.default
|
||||||
propinfo["rset_mode"] = prop.rpc
|
|
||||||
return propinfo
|
return propinfo
|
||||||
|
|
||||||
cdef inline object is_method(object meth):
|
cdef inline object is_method(object meth):
|
||||||
|
Loading…
Reference in New Issue
Block a user