I'm trying to port Nethack (a computer game) to another operating system but since I'm a Delphi developer I'm having a bit of trouble with some of the C code.
A lot of the code looks like this:
Code:STATIC_DCL void FDECL(redotoplin, (const char*)); STATIC_DCL void FDECL(topl_putsym, (CHAR_P)); STATIC_DCL void NDECL(remember_topl); STATIC_DCL void FDECL(removetopl, (int));Code:void FDECL((*input_func), (Widget,XEvent *,String *,Cardinal *));The only possible #define that I could find is this:Code:static void FDECL(win_visible, (Widget,XtPointer,XEvent *,Boolean *)); static void NDECL(init_standard_windows);
#define NDECL(f) f()
What does that mean? What do all of those FDECLs mean? What does STATIC_DCL mean?
Any help would be GREATLY appriciated