summaryrefslogtreecommitdiff
path: root/bindings/ruby/Libproxy.i
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/ruby/Libproxy.i')
-rw-r--r--bindings/ruby/Libproxy.i21
1 files changed, 0 insertions, 21 deletions
diff --git a/bindings/ruby/Libproxy.i b/bindings/ruby/Libproxy.i
deleted file mode 100644
index 183acba..0000000
--- a/bindings/ruby/Libproxy.i
+++ /dev/null
@@ -1,21 +0,0 @@
-/* libproxy.i */
-%module Libproxy
-%{
-#include "../../libproxy/proxy.h"
-%}
-
-%typemap(out) char ** {
- VALUE arr = rb_ary_new2(255);
- int i;
- for (i=0; $1[i]; i++) {
- rb_ary_push(arr, rb_str_new2($1[i]));
- }
- $result = arr;
-}
-
-%typemap(freearg) char ** {
- free($source);
-}
-
-%include "../../libproxy/proxy.h"
-