Watch
2
0
Fork
You've already forked raylib-cs
0

Update Raylib.Utils

This commit is contained in:
MrScautHD 2023-11-19 13:34:27 +01:00
commit 10d7df07d3
2 changed files with 79 additions and 9 deletions

View file

@ -1336,7 +1336,7 @@ public static unsafe partial class Raylib
/// <summary>Load image from SVG file data or string with specified size</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Image LoadImageSvg(char *fileNameOrString, int width, int height);
public static extern Image LoadImageSvg(sbyte* fileName, int width, int height);
/// <summary>Load image sequence from file (frames appended to image.data)</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
@ -1368,7 +1368,7 @@ public static unsafe partial class Raylib
/// <summary>Export image to memory buffer</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern char* ExportImageToMemory(Image image, char *fileType, int *fileSize);
public static extern char* ExportImageToMemory(Image image, sbyte* fileType, int *fileSize);
/// <summary>Export image as code file defining an array of bytes</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]