ext/ffi_c/DynamicLibrary.c in ffi-1.1.6.pre2 vs ext/ffi_c/DynamicLibrary.c in ffi-1.2.0.dev
- old
+ new
@@ -153,11 +153,11 @@
}
static void
library_free(Library* library)
{
- /* dlclose() on MacOS tends to segfault - avoid it */
+ // dlclose() on MacOS tends to segfault - avoid it
#ifndef __APPLE__
if (library->handle != NULL) {
dl_close(library->handle);
}
#endif
@@ -268,10 +268,10 @@
/*
* Document-const: FFI::NativeLibrary
* Backward compatibility for FFI::DynamicLibrary
*/
- rb_define_const(moduleFFI, "NativeLibrary", LibraryClass); /* backwards compat library */
+ rb_define_const(moduleFFI, "NativeLibrary", LibraryClass); // backwards compat library
rb_define_alloc_func(LibraryClass, library_allocate);
rb_define_singleton_method(LibraryClass, "open", library_open, 2);
rb_define_singleton_method(LibraryClass, "last_error", library_dlerror, 0);
rb_define_method(LibraryClass, "initialize", library_initialize, 2);
/*