diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-06-15 11:13:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-15 11:13:59 +0200 |
commit | 78b745bb0a6e515255ffba0c646c770b94109413 (patch) | |
tree | a26906f2e0aaf508f1e522e88b3550ecbec4d54a /core | |
parent | ee105744e0c6bc64f76124b0a80f0f4ac96c5957 (diff) | |
parent | 7a19e3c6ae360fc278f2eed7b5d402d794b794e3 (diff) |
Merge pull request #5192 from J08nY/issue-5190
Dictionary: rename param in .has() .has_all() .erase()
Diffstat (limited to 'core')
-rw-r--r-- | core/variant_call.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index f3f38f074e..c1a58dff75 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1437,9 +1437,9 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl ADDFUNC0(DICTIONARY,INT,Dictionary,size,varray()); ADDFUNC0(DICTIONARY,BOOL,Dictionary,empty,varray()); ADDFUNC0(DICTIONARY,NIL,Dictionary,clear,varray()); - ADDFUNC1(DICTIONARY,BOOL,Dictionary,has,NIL,"value",varray()); - ADDFUNC1(DICTIONARY,BOOL,Dictionary,has_all,ARRAY,"values",varray()); - ADDFUNC1(DICTIONARY,NIL,Dictionary,erase,NIL,"value",varray()); + ADDFUNC1(DICTIONARY,BOOL,Dictionary,has,NIL,"key",varray()); + ADDFUNC1(DICTIONARY,BOOL,Dictionary,has_all,ARRAY,"keys",varray()); + ADDFUNC1(DICTIONARY,NIL,Dictionary,erase,NIL,"key",varray()); ADDFUNC0(DICTIONARY,INT,Dictionary,hash,varray()); ADDFUNC0(DICTIONARY,ARRAY,Dictionary,keys,varray()); ADDFUNC0(DICTIONARY,ARRAY,Dictionary,values,varray()); |