mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
FFI: Add ssize_t declaration.
This commit is contained in:
parent
49427dfcc2
commit
52ea1a30af
@ -123,6 +123,7 @@ Please take a look at the commit history for more details.
|
||||
<li>FFI: Compile lightuserdata to <tt>void *</tt> conversion.</li>
|
||||
<li>FFI: Compile <tt>ffi.gc(cdata, nil)</tt>, too.</li>
|
||||
<li>FFI: Add <tt>ffi.typeinfo()</tt>.</li>
|
||||
<li>FFI: Add <tt>ssize_t</tt> declaration.</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -185,6 +185,8 @@ a <tt>typedef</tt>, except re-declarations will be ignored):
|
||||
<tt>uint16_t</tt>, <tt>uint32_t</tt>, <tt>uint64_t</tt>,
|
||||
<tt>intptr_t</tt>, <tt>uintptr_t</tt>.</li>
|
||||
|
||||
<li>From <tt><unistd.h></tt> (POSIX): <tt>ssize_t</tt>.</li>
|
||||
|
||||
</ul>
|
||||
<p>
|
||||
You're encouraged to use these types in preference to
|
||||
|
@ -38,6 +38,8 @@
|
||||
_("uint64_t", UINT64) \
|
||||
_("intptr_t", INT_PSZ) \
|
||||
_("uintptr_t", UINT_PSZ) \
|
||||
/* From POSIX. */ \
|
||||
_("ssize_t", INT_PSZ) \
|
||||
/* End of typedef list. */
|
||||
|
||||
/* Keywords (only the ones we actually care for). */
|
||||
|
Loading…
Reference in New Issue
Block a user