Last active
December 26, 2015 21:58
-
-
Save stouset/7219295 to your computer and use it in GitHub Desktop.
@sdaubert's remaining contributions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6f97adbd ext/ffi_c/ArrayType.c:129 VALUE ffi_Type; | |
f8f9ba34 ext/ffi_c/ArrayType.c:131 ffi_Type = rbffi_TypeClass; | |
f8f9ba34 ext/ffi_c/ArrayType.c:138 rbffi_ArrayTypeClass = rb_define_class_under(moduleFFI, "ArrayType", ffi_Type); | |
f8f9ba34 ext/ffi_c/ArrayType.c:146 rb_define_const(ffi_Type, "Array", rbffi_ArrayTypeClass); | |
f8f9ba34 ext/ffi_c/Buffer.c:340 VALUE ffi_AbstractMemory = rbffi_AbstractMemoryClass; | |
f8f9ba34 ext/ffi_c/Buffer.c:347 BufferClass = rb_define_class_under(moduleFFI, "Buffer", ffi_AbstractMemory); | |
f8f9ba34 ext/ffi_c/FunctionInfo.c:263 VALUE ffi_Type; | |
f8f9ba34 ext/ffi_c/FunctionInfo.c:265 ffi_Type = rbffi_TypeClass; | |
f8f9ba34 ext/ffi_c/FunctionInfo.c:270 rbffi_FunctionTypeClass = rb_define_class_under(moduleFFI, "FunctionType",ffi_Type); | |
f8f9ba34 ext/ffi_c/FunctionInfo.c:283 rb_define_const(ffi_Type, "Function", rbffi_FunctionTypeClass); | |
f8f9ba34 ext/ffi_c/MemoryPointer.c:193 VALUE ffi_Pointer; | |
f8f9ba34 ext/ffi_c/MemoryPointer.c:195 ffi_Pointer = rbffi_PointerClass; | |
f8f9ba34 ext/ffi_c/MemoryPointer.c:210 rbffi_MemoryPointerClass = rb_define_class_under(moduleFFI, "MemoryPointer", ffi_Pointer); | |
f8f9ba34 ext/ffi_c/Pointer.c:459 VALUE ffi_AbstractMemory = rbffi_AbstractMemoryClass; | |
db14d9f9 ext/ffi_c/Pointer.c:470 rbffi_PointerClass = rb_define_class_under(moduleFFI, "Pointer", ffi_AbstractMemory); | |
f8f9ba34 ext/ffi_c/Struct.c:787 rbffi_StructClass = rb_define_class_under(moduleFFI, "Struct", rb_cObject); | |
f8f9ba34 ext/ffi_c/Struct.c:788 StructClass = rbffi_StructClass; // put on a line alone to help RDoc | |
f8f9ba34 ext/ffi_c/Struct.c:800 rbffi_StructLayoutCharArrayClass = rb_define_class_under(rbffi_StructLayoutClass, "CharArray", | |
f8f9ba34 ext/ffi_c/Struct.c:801 rbffi_StructInlineArrayClass); | |
f8f9ba34 ext/ffi_c/StructLayout.c:612 VALUE ffi_Type = rbffi_TypeClass; | |
f8f9ba34 ext/ffi_c/StructLayout.c:619 rbffi_StructLayoutClass = rb_define_class_under(moduleFFI, "StructLayout", ffi_Type); | |
1888bad6 ext/ffi_c/Type.c:255 rbffi_TypeClass = rb_define_class_under(moduleFFI, "Type", rb_cObject); | |
1888bad6 ext/ffi_c/Type.c:319 rb_define_alloc_func(rbffi_TypeClass, type_allocate); | |
1888bad6 ext/ffi_c/Type.c:320 rb_define_method(rbffi_TypeClass, "initialize", type_initialize, 1); | |
1888bad6 ext/ffi_c/Type.c:321 rb_define_method(rbffi_TypeClass, "size", type_size, 0); | |
1888bad6 ext/ffi_c/Type.c:322 rb_define_method(rbffi_TypeClass, "alignment", type_alignment, 0); | |
1888bad6 ext/ffi_c/Type.c:323 rb_define_method(rbffi_TypeClass, "inspect", type_inspect, 0); | |
1888bad6 ext/ffi_c/Type.c:335 rb_define_const(rbffi_TypeClass, #x, t = builtin_type_new(classBuiltinType, NATIVE_##x, ffiType, #x)); \ | |
1888bad6 ext/ffi_c/Type.c:341 VALUE t = rb_const_get(rbffi_TypeClass, rb_intern(#old_type)); \ | |
1888bad6 ext/ffi_c/Type.c:342 rb_const_set(rbffi_TypeClass, rb_intern(#new_type), t); \ | |
3d7d45fe lib/ffi/library.rb:358 code | |
3d7d45fe lib/ffi/library.rb:520 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's hacky, but: