MCPcopy Create free account
hub / github.com/WheretIB/nullc / nullcInitVectorModule

Function nullcInitVectorModule

NULLC/includes/vector.cpp:169–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167
168#define REGISTER_FUNC(funcPtr, name, index) if(!nullcBindModuleFunction("old.vector", (void(*)())NULLCVector::funcPtr, name, index)) return false;
169bool nullcInitVectorModule()
170{
171 REGISTER_FUNC(ConstructVector, "cConstructVector", 0);
172
173 REGISTER_FUNC(VectorPushBack, "vector::push_back", 0);
174 REGISTER_FUNC(VectorPopBack, "vector::pop_back", 0);
175 REGISTER_FUNC(VectorFront, "vector::front", 0);
176 REGISTER_FUNC(VectorBack, "vector::back", 0);
177 REGISTER_FUNC(VectorIndex, "[]", 0);
178 REGISTER_FUNC(VectorReserve, "vector::reserve", 0);
179 REGISTER_FUNC(VectorResize, "vector::resize", 0);
180 REGISTER_FUNC(VectorClear, "vector::clear", 0);
181 REGISTER_FUNC(VectorDestroy, "vector::destroy", 0);
182 REGISTER_FUNC(VectorSize, "vector::size", 0);
183 REGISTER_FUNC(VectorCapacity, "vector::capacity", 0);
184
185 REGISTER_FUNC(VectorNext, "vector_iterator::next", 0);
186 REGISTER_FUNC(VectorHasNext, "vector_iterator::hasnext", 0);
187
188 return true;
189}

Callers 5

RunTestsFunction · 0.85
WinMainFunction · 0.85
mainFunction · 0.85
RunMethod · 0.85
SpeedTestTextFunction · 0.85

Calls

no outgoing calls

Tested by 3

RunTestsFunction · 0.68
RunMethod · 0.68
SpeedTestTextFunction · 0.68