VariadicInvoker missing a BOOL case
-----------------------------------
Key: JRUBY-3859
URL: http://jira.codehaus.org/browse/JRUBY-3859
Project: JRuby
Issue Type: Bug
Components: Extensions
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.4
Fix in a moment.
{noformat}
diff --git a/src/org/jruby/ext/ffi/jffi/VariadicInvoker.java
b/src/org/jruby/ext/ffi/jffi/VariadicInvoker.java
index 0529754..344521e 100644
--- a/src/org/jruby/ext/ffi/jffi/VariadicInvoker.java
+++ b/src/org/jruby/ext/ffi/jffi/VariadicInvoker.java
@@ -123,6 +123,7 @@ public class VariadicInvoker extends RubyObject {
private static final Type getFFIType(NativeParam type) {
if (type instanceof NativeType) switch ((NativeType) type) {
case VOID: return com.kenai.jffi.Type.VOID;
+ case BOOL: return com.kenai.jffi.Type.UINT32;
case INT8: return com.kenai.jffi.Type.SINT8;
case UINT8: return com.kenai.jffi.Type.UINT8;
case INT16: return com.kenai.jffi.Type.SINT16;
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email