Package org.jruby.ext.ffi

Examples of org.jruby.ext.ffi.FreedMemoryIO


        } else {
            throw context.getRuntime().newRuntimeError("cannot free non-allocated function");
        }
       
        // Replace memory object with one that throws an exception on any access
        setMemoryIO(new FreedMemoryIO(context.getRuntime()));
        return context.getRuntime().getNil();
    }
View Full Code Here


        } else {
            throw context.runtime.newRuntimeError("cannot free non-allocated function");
        }
       
        // Replace memory object with one that throws an exception on any access
        setMemoryIO(new FreedMemoryIO(context.runtime));
        return context.runtime.getNil();
    }
View Full Code Here

TOP

Related Classes of org.jruby.ext.ffi.FreedMemoryIO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.