diff options
author | Wayne Meissner <wmeissner@gmail.com> | 2012-02-29 22:54:50 +1000 |
---|---|---|
committer | Wayne Meissner <wmeissner@gmail.com> | 2012-02-29 22:54:50 +1000 |
commit | e9034b4146331ec069d67ff128b33e75f4fee4de (patch) | |
tree | fccd92f6180aef3523f2198f977dc32956f3b6ca | |
parent | 84acca6b677661db3b5170023f585cf2fcbe0180 (diff) | |
download | ffi-e9034b4146331ec069d67ff128b33e75f4fee4de.tar.gz |
Untabify & formatting fixups
-rw-r--r-- | ext/ffi_c/Pointer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/ffi_c/Pointer.c b/ext/ffi_c/Pointer.c index 18bd559..89f071f 100644 --- a/ext/ffi_c/Pointer.c +++ b/ext/ffi_c/Pointer.c @@ -292,8 +292,9 @@ ptr_equals(VALUE self, VALUE other) Data_Get_Struct(self, Pointer, ptr); - if (NIL_P(other)) - return ptr->memory.address == NULL ? Qtrue : Qfalse; + if (NIL_P(other)) { + return ptr->memory.address == NULL ? Qtrue : Qfalse; + } return ptr->memory.address == POINTER(other)->address ? Qtrue : Qfalse; } |