Replaced multiple ret* variables by an union.
Replaced multiple nref* by just one nref.
Added ref (pointer) types short, ushort, long, ulong, ptrdiff_t, size_t, float, long long and ulonglong.