nn::ro::GetPointer Function

Syntax

template <typename T>
T GetPointer(
     const char * name
);

Template Arguments

Name Description
T Type of pointer to get.

Parameters

Name Description
in name Symbol string for the object whose pointer is to be gotten.

Return Values

Returns a pointer to the object pointed to by the symbol if the symbol specified by name is found. Returns NULL if the address is not found.

Description

Searches for a symbol.

Searchs for the symbol having the specified name from among all modules loaded with true specified in the doRegister argument of LoadModule, and returns a pointer to that symbol.

A mangled name must be specified when specifying a C++ symbol.

Revision History

2011/07/29
Initial version.

CONFIDENTIAL