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

Method SetPointerType

neo/d3xp/script/Script_Program.cpp:467–473  ·  view source on GitHub ↗

================ idTypeDef::SetPointerType If type is a pointer, then sets the pointer's type ================ */

Source from the content-addressed store, hash-verified

465================
466*/
467void idTypeDef::SetPointerType( idTypeDef *pointertype ) {
468 if ( type != ev_pointer ) {
469 throw idCompileError( "idTypeDef::SetPointerType: tried to set type on non-pointer" );
470 }
471
472 auxType = pointertype;
473}
474
475/*
476================

Callers 1

GetExpressionMethod · 0.45

Calls 1

idCompileErrorClass · 0.70

Tested by

no test coverage detected