Fix return values of some natives. (#2437)

These are listed as returning void, but actually have non-void returns
in their implementation and pre-methodmap signatures.
This commit is contained in:
David Anderson
2026-04-09 21:02:26 -07:00
committed by GitHub
parent a3fb4dfe5e
commit feaeb6a0ea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ methodmap SMCParser < Handle
// @param buffer A string buffer for the error (contents undefined on failure).
// @param buf_max The maximum size of the buffer.
// @return The number of characters written to buffer.
public native void GetErrorString(SMCError error, char[] buffer, int buf_max);
public native bool GetErrorString(SMCError error, char[] buffer, int buf_max);
};
/**