============ idVarDef::SetFunction ============ */
| 639 | ============ |
| 640 | */ |
| 641 | void 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 | ============ |