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:
@@ -175,7 +175,7 @@ methodmap AdminId {
|
||||
// @param name String buffer to store name.
|
||||
// @param maxlength Maximum size of string buffer.
|
||||
// @return Number of bytes written.
|
||||
public native void GetUsername(char[] name, int maxlength);
|
||||
public native bool GetUsername(char[] name, int maxlength);
|
||||
|
||||
// Binds an admin to an identity for fast lookup later on. The bind must be unique.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user