mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 14:43:50 -04:00
interrogate: rename operator [] =
to operator []=
This commit is contained in:
parent
a28b641bf3
commit
7f707de384
@ -74,7 +74,7 @@ RenameSet methodRenameDictionary[] = {
|
||||
{ "operator =" , "assign", 0 },
|
||||
{ "operator ()" , "__call__", 0 },
|
||||
{ "operator []" , "__getitem__", 0 },
|
||||
{ "operator [] =" , "__setitem__", 0 },
|
||||
{ "operator []=" , "__setitem__", 0 },
|
||||
{ "operator ++unary", "increment", 0 },
|
||||
{ "operator ++" , "increment", 0 },
|
||||
{ "operator --unary", "decrement", 0 },
|
||||
|
@ -3054,7 +3054,7 @@ define_method(CPPInstance *function, InterrogateType &itype,
|
||||
CPPFunctionType *ftype = new CPPFunctionType(void_type, params, 0);
|
||||
|
||||
// Now make up an instance for the function.
|
||||
CPPInstance *function = new CPPInstance(ftype, "operator [] =");
|
||||
CPPInstance *function = new CPPInstance(ftype, "operator []=");
|
||||
function->_ident->_native_scope = scope;
|
||||
|
||||
FunctionIndex index = get_function(function, "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user