Revert "Fix/workaround RNA build error in C++ API."
This reverts commit 9f2ae547c0
.
Args were reordered.
This commit is contained in:
parent
bdc3335016
commit
3102821c9c
|
@ -923,10 +923,10 @@ void RNA_api_keyconfigs(StructRNA *srna)
|
|||
parm = RNA_def_pointer(func, "properties", "OperatorProperties", "", "");
|
||||
RNA_def_parameter_flags(parm, 0, PARM_RNAPTR);
|
||||
RNA_def_boolean(func, "is_hotkey", 0, "Hotkey", "Event is not a modifier");
|
||||
parm = RNA_def_pointer(func, "item", "KeyMapItem", "", "");
|
||||
RNA_def_parameter_flags(parm, 0, PARM_RNAPTR);
|
||||
parm = RNA_def_pointer(func, "keymap", "KeyMap", "", "");
|
||||
RNA_def_parameter_flags(parm, 0, PARM_RNAPTR | PARM_OUTPUT);
|
||||
parm = RNA_def_pointer(func, "item", "KeyMapItem", "", "");
|
||||
RNA_def_parameter_flags(parm, 0, PARM_RNAPTR);
|
||||
RNA_def_function_return(func, parm);
|
||||
|
||||
RNA_def_function(srna, "update", "rna_KeyConfig_update"); /* WM_keyconfig_update */
|
||||
|
|
Loading…
Reference in New Issue