public int GetAsBool(int[] _retval) { /* mozilla's representation of boolean changed from 4 bytes to 1 byte as of XULRunner 4.x */ if (nsISupports.IsXULRVersionOrLater(MozillaVersion.VERSION_XR10)) { byte[] byteValue = new byte[1]; int rc = XPCOM.VtblCall(this.getMethodIndex("getAsBool"), getAddress(), byteValue); _retval[0] = (int)byteValue[0]; return rc; } return XPCOM.VtblCall(this.getMethodIndex("getAsBool"), getAddress(), _retval); }
public int GetAsBool(int[] _retval) { /* mozilla's representation of boolean changed from 4 bytes to 1 byte as of XULRunner 4.x */ if (nsISupports.IsXULRVersionOrLater(MozillaVersion.VERSION_XR10)) { byte[] byteValue = new byte[1]; int rc = XPCOM.VtblCall(this.getMethodIndex("getAsBool"), getAddress(), byteValue); _retval[0] = (int)byteValue[0]; return rc; } return XPCOM.VtblCall(this.getMethodIndex("getAsBool"), getAddress(), _retval); }
public int GetAsBool(int[] _retval) { /* mozilla's representation of boolean changed from 4 bytes to 1 byte as of XULRunner 4.x */ if (nsISupports.IsXULRVersionOrLater(MozillaVersion.VERSION_XR10)) { byte[] byteValue = new byte[1]; int rc = XPCOM.VtblCall(this.getMethodIndex("getAsBool"), getAddress(), byteValue); _retval[0] = (int)byteValue[0]; return rc; } return XPCOM.VtblCall(this.getMethodIndex("getAsBool"), getAddress(), _retval); }
public int GetAsBool(int[] _retval) { /* mozilla's representation of boolean changed from 4 bytes to 1 byte as of XULRunner 4.x */ if (nsISupports.IsXULRVersionOrLater(MozillaVersion.VERSION_XR10)) { byte[] byteValue = new byte[1]; int rc = XPCOM.VtblCall(this.getMethodIndex("getAsBool"), getAddress(), byteValue); _retval[0] = (int)byteValue[0]; return rc; } return XPCOM.VtblCall(this.getMethodIndex("getAsBool"), getAddress(), _retval); }