MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / SetFunction

Method SetFunction

neo/d3xp/script/Script_Program.cpp:641–646  ·  view source on GitHub ↗

============ idVarDef::SetFunction ============ */

Source from the content-addressed store, hash-verified

639============
640*/
641void idVarDef::SetFunction( function_t *func ) {
642 assert( typeDef );
643 initialized = initializedConstant;
644 assert( typeDef->Type() == ev_function );
645 value.functionPtr = func;
646}
647
648/*
649============

Callers 1

Script_Program.cppFile · 0.45

Calls 1

TypeMethod · 0.45

Tested by

no test coverage detected