Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.ext.ffi.jffi;
 
 
        super(, ObjectParameterType.create(..));
    }
    @Override
    public long address(Object parameter) {
        return 0;
    }
    @Override
    public Object object(Object parameter) {
        return ((RubyStringparameter).getByteList().unsafeBytes();
    }
    @Override
    public int offset(Object parameter) {
        return ((RubyStringparameter).getByteList().begin();
    }
    @Override
    public int length(Object parameter) {
        return ((RubyStringparameter).getByteList().length();
    }
New to GrepCode? Check out our FAQ X