mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
reverting r37881
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1d8d7a3eec
commit
1eac1cb21e
17 changed files with 33 additions and 1951 deletions
|
@ -38,18 +38,6 @@ allocate(VALUE klass)
|
|||
return TypedData_Make_Struct(klass, ffi_cif, &function_data_type, cif);
|
||||
}
|
||||
|
||||
VALUE
|
||||
rb_fiddle_new_function(VALUE address, VALUE arg_types, VALUE ret_type)
|
||||
{
|
||||
VALUE argv[3];
|
||||
|
||||
argv[0] = address;
|
||||
argv[1] = arg_types;
|
||||
argv[2] = ret_type;
|
||||
|
||||
return rb_class_new_instance(3, argv, cFiddleFunction);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
initialize(int argc, VALUE argv[], VALUE self)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue