Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove unused CApiHandle builtin

  • Loading branch information...
commit 9e7a7b495b519a92b44dddfd24b30eee3350df8a 1 parent 15eb22f
Dirkjan Bussink dbussink authored
1  rakelib/vm.rake
@@ -101,7 +101,6 @@ field_extract_headers = %w[
101 101 vm/builtin/proc.hpp
102 102 vm/builtin/variable_scope.hpp
103 103 vm/builtin/location.hpp
104   - vm/builtin/capi_handle.hpp
105 104 vm/builtin/global_cache_entry.hpp
106 105 vm/builtin/weakref.hpp
107 106 vm/builtin/fiber.hpp
9 vm/builtin/capi_handle.cpp
... ... @@ -1,9 +0,0 @@
1   -#include "builtin/capi_handle.hpp"
2   -
3   -namespace rubinius {
4   - CApiHandle* CApiHandle::create(STATE, capi::Handle* handle) {
5   - CApiHandle* wrapper = state->new_object<CApiHandle>(G(object));
6   - wrapper->handle = handle;
7   - return wrapper;
8   - }
9   -}
22 vm/builtin/capi_handle.hpp
... ... @@ -1,22 +0,0 @@
1   -#ifndef RBX_BUILTIN_CAPI_HANDLE_HPP
2   -#define RBX_BUILTIN_CAPI_HANDLE_HPP
3   -
4   -#include "vm.hpp"
5   -#include "builtin/object.hpp"
6   -
7   -namespace rubinius {
8   - namespace capi {
9   - class Handle;
10   - }
11   -
12   - class CApiHandle : public Object {
13   - public:
14   - const static object_type type = CApiHandleType;
15   -
16   - capi::Handle* handle;
17   -
18   - static CApiHandle* create(STATE, capi::Handle* handle);
19   - };
20   -}
21   -
22   -#endif
1  vm/builtin/nativemethod.cpp
@@ -18,7 +18,6 @@
18 18 #include "builtin/string.hpp"
19 19 #include "builtin/system.hpp"
20 20 #include "builtin/tuple.hpp"
21   -#include "builtin/capi_handle.hpp"
22 21 #include "builtin/location.hpp"
23 22 #include "builtin/ffi_pointer.hpp"
24 23

0 comments on commit 9e7a7b4

Please sign in to comment.
Something went wrong with that request. Please try again.