Page 1 of 1

about NETWORK_GetState()

Posted: Sun May 27, 2012 2:03 pm
by Dusk

Code: Select all

LONG NETWORK_GetState( void )
{
	return ( g_lNetworkState );
}
Shouldn't this be inline to avoid overhead? I know it's a minor issue but I figured it would be worth raising...

RE: about NETWORK_GetState()

Posted: Sun May 27, 2012 2:12 pm
by Torr Samaho
AFAIK inlining a function which is not implemented in a header but in a cpp file has no effect (and can't have any effect by design unless link time optimization is involved).