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

Method PointerType

neo/d3xp/script/Script_Program.cpp:452–458  ·  view source on GitHub ↗

================ idTypeDef::PointerType If type is a pointer, then returns the type it points to ================ */

Source from the content-addressed store, hash-verified

450================
451*/
452idTypeDef *idTypeDef::PointerType( void ) const {
453 if ( type != ev_pointer ) {
454 throw idCompileError( "idTypeDef::PointerType: tried to get pointer type on non-pointer" );
455 }
456
457 return auxType;
458}
459
460/*
461================

Callers 1

GetExpressionMethod · 0.45

Calls 1

idCompileErrorClass · 0.70

Tested by

no test coverage detected