mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
interrogate: fix in-place or (|=) operators (see #588)
This commit is contained in:
parent
8b79fb75b9
commit
3ca3dfd13a
@ -431,6 +431,12 @@ get_slotted_function_def(Object *obj, Function *func, FunctionRemap *remap,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (method_name == "operator |=") {
|
||||||
|
def._answer_location = "nb_inplace_or";
|
||||||
|
def._wrapper_type = WT_inplace_binary_operator;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (method_name == "__ipow__") {
|
if (method_name == "__ipow__") {
|
||||||
def._answer_location = "nb_inplace_power";
|
def._answer_location = "nb_inplace_power";
|
||||||
def._wrapper_type = WT_inplace_ternary_operator;
|
def._wrapper_type = WT_inplace_ternary_operator;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user