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

Method SetFieldType

neo/game/script/Script_Program.cpp:437–443  ·  view source on GitHub ↗

================ idTypeDef::SetFieldType If type is a field, then sets the function's return type ================ */

Source from the content-addressed store, hash-verified

435================
436*/
437void idTypeDef::SetFieldType( idTypeDef *fieldtype ) {
438 if ( type != ev_field ) {
439 throw idCompileError( "idTypeDef::SetFieldType: tried to set return type on non-function type" );
440 }
441
442 auxType = fieldtype;
443}
444
445/*
446================

Callers 1

ParseObjectDefMethod · 0.45

Calls 1

idCompileErrorClass · 0.70

Tested by

no test coverage detected