mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Fix doc link.
This commit is contained in:
parent
29ac908f74
commit
fe6ded9018
@ -460,7 +460,7 @@ define <tt>__index</tt> and <tt>__newindex</tt> functions instead.
|
||||
<span class="mark">⑤</span> This associates the metamethods with
|
||||
our C type. This only needs to be done once. For convenience, a
|
||||
constructor is returned by
|
||||
<a href="ffi_ext_api.html#ffi_metatype"><tt>ffi.metatype()</tt></a>.
|
||||
<a href="ext_ffi_api.html#ffi_metatype"><tt>ffi.metatype()</tt></a>.
|
||||
We're not required to use it, though. The original C type can still
|
||||
be used e.g. to create an array of points. The metamethods automatically
|
||||
apply to any and all uses of this type.
|
||||
|
Loading…
Reference in New Issue
Block a user