L
Logix
I'm trying to typedef a function pointer to the following type of
function:
FeaTAnyInstrument* allocateOption(CalculateVarDataHolder
*varDataHolder, JNIEnv *env, jobject inputObj, FeaTInstrumentType type)
{
Does anyone know why the following code
typedef (FeaTAnyInstrument*) (*AllocFuncPtr)(CalculateVarDataHolder*,
JNIEnv*, jobject, FeaTInstrumentType);
generates the following error?
instrumentlogic.h(11) : error C2226: syntax error : unexpected type
'FeaTAnyInstrument'
Thanks!
function:
FeaTAnyInstrument* allocateOption(CalculateVarDataHolder
*varDataHolder, JNIEnv *env, jobject inputObj, FeaTInstrumentType type)
{
Does anyone know why the following code
typedef (FeaTAnyInstrument*) (*AllocFuncPtr)(CalculateVarDataHolder*,
JNIEnv*, jobject, FeaTInstrumentType);
generates the following error?
instrumentlogic.h(11) : error C2226: syntax error : unexpected type
'FeaTAnyInstrument'
Thanks!