MCPcopy Create free account
hub / github.com/charto/nbind / addGroup

Method addGroup

include/nbind/v8/Overloader.h:163–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 static unsigned int addGroup() {
164 std::vector<OverloadDef> &overloadVect = overloadVectStore();
165 unsigned int num = overloadVect.size();
166
167 // Add a new group of overloaded methods.
168 overloadVect.resize(num + 1);
169
170 return(num);
171 }
172
173 static void addMethod(unsigned int num, unsigned int arity, funcPtr method) {
174 OverloadDef &def = getDef(num);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected