]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
FFI: Mention __thiscall attribute in docs.
authorMike Pall <mike>
Wed, 7 Nov 2012 17:09:37 +0000 (18:09 +0100)
committerMike Pall <mike>
Wed, 7 Nov 2012 17:09:37 +0000 (18:09 +0100)
doc/ext_ffi_semantics.html

index ab02f2b80e51f67010184e28f0db305ff4f6fd83..c2107663d054cb251c1a042152c98790bbc122cf 100644 (file)
@@ -148,7 +148,7 @@ VLA).</li>
 <li>GCC <tt>__attribute__</tt> with the following attributes:
 <tt>aligned</tt>, <tt>packed</tt>, <tt>mode</tt>,
 <tt>vector_size</tt>, <tt>cdecl</tt>, <tt>fastcall</tt>,
-<tt>stdcall</tt>.</li>
+<tt>stdcall</tt>, <tt>thiscall</tt>.</li>
 
 <li>The GCC <tt>__extension__</tt> keyword and the GCC
 <tt>__alignof__</tt> operator.</li>
@@ -160,8 +160,8 @@ function declarations.</li>
 <tt>__int16</tt>, <tt>__int32</tt> and <tt>__int64</tt>.</li>
 
 <li>MSVC <tt>__cdecl</tt>, <tt>__fastcall</tt>, <tt>__stdcall</tt>,
-<tt>__ptr32</tt>, <tt>__ptr64</tt>, <tt>__declspec(align(n))</tt>
-and <tt>#pragma&nbsp;pack</tt>.</li>
+<tt>__thiscall</tt>, <tt>__ptr32</tt>, <tt>__ptr64</tt>,
+<tt>__declspec(align(n))</tt> and <tt>#pragma&nbsp;pack</tt>.</li>
 
 <li>All other GCC/MSVC-specific attributes are ignored.</li>