summaryrefslogtreecommitdiff
path: root/ext/fiddle/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fiddle/function.c')
-rw-r--r--ext/fiddle/function.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ext/fiddle/function.c b/ext/fiddle/function.c
index 7fc5127..6e89099 100644
--- a/ext/fiddle/function.c
+++ b/ext/fiddle/function.c
@@ -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)
{