get_value


Description:

public int get_value (out Argument value)

Obtain the value associated with the ConstantInfo and store it in the value parameter.

argument needs to be allocated before passing it in. The size of the constant value stored in argument will be returned. Free the value with free_value.

Parameters:

value

an argument

info

a ConstantInfo

Returns:

size of the constant