All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.ext.ffi.FreedMemoryIO Maven / Gradle / Ivy

There is a newer version: 0.40.13
Show newest version
package org.jruby.ext.ffi;

import org.jruby.Ruby;

public final class FreedMemoryIO extends InvalidMemoryIO implements AllocatedDirectMemoryIO {

    public FreedMemoryIO(Ruby runtime) {
        super(runtime, false, 0xfee1deadcafebabeL, "attempting to access freed memory");
    }

    public void free() {
        throw ex();
    }

    public void setAutoRelease(boolean autorelease) {
        throw ex();
    }

    public boolean isAutoRelease() {
        throw ex();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy