C++'s long and unsigned long can be accessed with c_long and c_ulong. Unfortunately, these are aliases and mangle to their underlying types.
How about?
pragma(mangle, "l") alias c_long = int;
C++'s long and unsigned long can be accessed with c_long and c_ulong. Unfortunately, these are aliases and mangle to their underlying types.
How about?
pragma(mangle, "l") alias c_long = int;