Closed danilwhale closed 3 months ago
Before submitting a new issue, please verify and check:
Original declaration looks like:
RLAPI unsigned char *ExportImageToMemory(Image image, const char *fileType, int *fileSize);
where unsigned char * should be byte* and not char*, because C char is equal to C# sbyte and unsigned char is equal to byte https://github.com/ChrisDill/Raylib-cs/blob/502a583e076cf1595a12def81206be7f804002e5/Raylib-cs/interop/Raylib.cs#L1371
unsigned char *
byte*
char*
char
sbyte
unsigned char
byte
Thanks, fixed!
Before submitting a new issue, please verify and check:
Issue description
Original declaration looks like:
where
unsigned char *
should bebyte*
and notchar*
, because Cchar
is equal to C#sbyte
andunsigned char
is equal tobyte
https://github.com/ChrisDill/Raylib-cs/blob/502a583e076cf1595a12def81206be7f804002e5/Raylib-cs/interop/Raylib.cs#L1371