I need help converting two statements from a C header file to their Delphi equivalents. The first one is the extern const statement below. I'm not sure if this should be defined as a pointer or what.
The second statement is the typedef that I've attempted to convert...I just wanted someone to check it and let me know if it is correct.
/* Memory function tables */
extern const BioAPI_MEMORY_FUNCS BioAPIMemoryFuncs;
2. Original C statement...
typedef void * (BioAPI *BioAPI_MALLOC) ( uint32 Size,
void * Allocref,
const char * File,
My converted Delphi equivalent.....
BioApi_Malloc = procedure( Size: Cardinal;
Const _File: Char;