if ( display_name != null ) checkNT1(display_name);
return nXOpenDisplay(memAddressSafe(display_name));
}
public static long XOpenDisplay(CharSequence display_name) {
APIBuffer __buffer = apiBuffer();
<BUG>int display_nameEncoded = __buffer.stringParamASCII(display_name, true);
</BUG>
return nXOpenDisplay(__buffer.addressSafe(display_name, display_nameEncoded));
}
public static int XDefaultScreen(long display) {

if ( display_name != null ) checkNT1(display_name);
return nXOpenDisplay(memAddressSafe(display_name));
}
public static long XOpenDisplay(CharSequence display_name) {
APIBuffer __buffer = apiBuffer();
int display_nameEncoded = display_name == null ? 0 : __buffer.stringParamASCII(display_name, true);
return nXOpenDisplay(__buffer.addressSafe(display_name, display_nameEncoded));
}
public static int XDefaultScreen(long display) {
