public class CExtension extends Object implements Library
ModuleLoader
for loading c-extensions
in JRuby. Resources in the native file-system are loaded directly,
extensions included in a Jar are extracted to java.io.tmpdir to allow
the System to load them into the process space.Constructor and Description |
---|
CExtension(LoadServiceResource resource) |
Modifier and Type | Method and Description |
---|---|
void |
load(Ruby runtime,
boolean wrap)
Try loading the found c-extension.
|
public CExtension(LoadServiceResource resource)
public void load(Ruby runtime, boolean wrap) throws IOException
load
in interface Library
IOException
Copyright © 2001–2015 JRuby. All rights reserved.