Skip to content

Commit 5b6f643

Browse files
author
Giloo
committed
added HASH::SET that exist but is not documented.
All the obj code should be examined as it is too complicated and cut/paste reuse + debug lines makes it unreadable. But OK, it works.
1 parent 4ab800d commit 5b6f643

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/overload.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,12 @@ void SetupOverloadSubroutines() {
715715
treePro = new WRAPPED_PRONode(lib::hash__remove_pro);
716716
DProHASH__REMOVE->SetTree(treePro);
717717
hashDesc->ProList().push_back(DProHASH__REMOVE);
718+
// HASH::SET PRO
719+
DPro *DProHASH__SET = new DPro("SET", "HASH", INTERNAL_LIBRARY_STR);
720+
DProHASH__SET->AddPar("KEY")->AddPar("VALUE");
721+
treePro = new WRAPPED_PRONode(lib::HASH__Set);
722+
DProHASH__SET->SetTree(treePro);
723+
hashDesc->ProList().push_back(DProHASH__SET);
718724
// HASH::HASKEY()
719725
DFun *DFunHASH__HASKEY = new DFun("HASKEY", "HASH", INTERNAL_LIBRARY_STR);
720726
DFunHASH__HASKEY->AddPar("KEYLIST");

0 commit comments

Comments
 (0)