Bug #15482 ยป document-resolve_feature_path.patch
| load.c | ||
|---|---|---|
|
return (VALUE)dln_load(RSTRING_PTR(path));
|
||
|
}
|
||
|
/*
|
||
|
* call-seq:
|
||
|
* RubyVM.resolve_feature_path(feature) -> [:rb or :so, path]
|
||
|
*
|
||
|
* Identifies the file that will be loaded by "require(feature)".
|
||
|
* This API is experimental and just for internal.
|
||
|
*
|
||
|
* RubyVM.resolve_feature_path("set")
|
||
|
* #=> [:rb, "/path/to/feature.rb"]
|
||
|
*/
|
||
|
/* Method is documented in vm.c */
|
||
|
VALUE
|
||
|
rb_resolve_feature_path(VALUE klass, VALUE fname)
|
||
| vm.c | ||
|---|---|---|
|
static VALUE usage_analysis_register_stop(VALUE self);
|
||
|
#endif
|
||
|
/*
|
||
|
* Document-method: RubyVM::resolve_feature_path
|
||
|
* call-seq:
|
||
|
* RubyVM.resolve_feature_path(feature) -> [:rb or :so, path]
|
||
|
*
|
||
|
* Identifies the file that will be loaded by "require(feature)".
|
||
|
* This API is experimental and just for internal.
|
||
|
*
|
||
|
* RubyVM.resolve_feature_path("set")
|
||
|
* #=> [:rb, "/path/to/feature.rb"]
|
||
|
*/
|
||
|
VALUE rb_resolve_feature_path(VALUE klass, VALUE fname);
|
||
|
void
|
||