From 3a43ea50843e4f6db73b8edf637dfd209ffbe2ab Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 23 May 2012 22:19:05 +0200 Subject: FFI: Equality comparisons never raise an error. --- doc/ext_ffi_semantics.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html index 2dbe41e9..304befa7 100644 --- a/doc/ext_ffi_semantics.html +++ b/doc/ext_ffi_semantics.html @@ -724,6 +724,11 @@ of them is an uint64_t, the other side is converted to an both sides are converted to an int64_t and a signed comparison is performed. +
  • Comparisons for equality/inequality never raise an error. +Even incompatible pointers can be compared for equality by address. Any +other incompatible comparison (also with non-cdata objects) treats the +two sides as unequal.
  • +

    cdata objects as table keys

    -- cgit v1.2.3-55-g6feb