ENV_SetResourceArray

C Specification

#include <nitro/env.h>
void ENV_SetResourceArray( ENVResource* resourceArray );
  

Arguments

resourceArray The pointer to the resource array.

Return Values

The pointer to the resource array that was set previously.

Description

This function sets the resource array used in searching for resources.

Be sure to indicate the end of the resource array with ENV_RESOURCE_END.

(Example)

ENVResource myResouce[] = {
"res.data1", ENV_U32( 300 ),
"res.data2", ENV_U32( 500 ),
"res.data3", ENV_STRING( "abcde" ),
"res.data4", ENV_S32( -100 ),
ENV_RESOUCE_END
};



:
ENV_SetResourceArray( myResource );
:


See Also

ENV_Init

Revision History

08/16/2005 Initial version.