I am currently translating some C headers into Delphi. I am unable find a reference for converting a function pointer from C into Delphi.
typedef _JAlloc JAlloc;
struct _JAlloc {
void *(*alloc) (JAlloc *allocator, size_t size);
void (*free) (JAlloc *allocator, void *p);
void *(*realloc) (JAlloc *allocator, void *p, size_t size);
};
What will be the Delphi translation of this?
Where can I find good resources for manual conversion of C headers to Delphi (including pointer, preprocessor directives, etc.)?