Skip to content
Browse files

Remove unused CApiHandle builtin

  • Loading branch information...
1 parent 15eb22f commit 9e7a7b495b519a92b44dddfd24b30eee3350df8a @dbussink dbussink committed May 9, 2012
Showing with 0 additions and 33 deletions.
  1. +0 −1 rakelib/vm.rake
  2. +0 −9 vm/builtin/capi_handle.cpp
  3. +0 −22 vm/builtin/capi_handle.hpp
  4. +0 −1 vm/builtin/nativemethod.cpp
View
1 rakelib/vm.rake
@@ -101,7 +101,6 @@ field_extract_headers = %w[
vm/builtin/proc.hpp
vm/builtin/variable_scope.hpp
vm/builtin/location.hpp
- vm/builtin/capi_handle.hpp
vm/builtin/global_cache_entry.hpp
vm/builtin/weakref.hpp
vm/builtin/fiber.hpp
View
9 vm/builtin/capi_handle.cpp
@@ -1,9 +0,0 @@
-#include "builtin/capi_handle.hpp"
-
-namespace rubinius {
- CApiHandle* CApiHandle::create(STATE, capi::Handle* handle) {
- CApiHandle* wrapper = state->new_object<CApiHandle>(G(object));
- wrapper->handle = handle;
- return wrapper;
- }
-}
View
22 vm/builtin/capi_handle.hpp
@@ -1,22 +0,0 @@
-#ifndef RBX_BUILTIN_CAPI_HANDLE_HPP
-#define RBX_BUILTIN_CAPI_HANDLE_HPP
-
-#include "vm.hpp"
-#include "builtin/object.hpp"
-
-namespace rubinius {
- namespace capi {
- class Handle;
- }
-
- class CApiHandle : public Object {
- public:
- const static object_type type = CApiHandleType;
-
- capi::Handle* handle;
-
- static CApiHandle* create(STATE, capi::Handle* handle);
- };
-}
-
-#endif
View
1 vm/builtin/nativemethod.cpp
@@ -18,7 +18,6 @@
#include "builtin/string.hpp"
#include "builtin/system.hpp"
#include "builtin/tuple.hpp"
-#include "builtin/capi_handle.hpp"
#include "builtin/location.hpp"
#include "builtin/ffi_pointer.hpp"

0 comments on commit 9e7a7b4

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