We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0106ba commit 1dcb60eCopy full SHA for 1dcb60e
docs/source/getting-started/ffi.md
@@ -94,9 +94,8 @@ Pointer-pointers don't have a dedicated type (i.e. there's no
94
There's no equivalent of C's `size_t` type, as Inko only supports 64-bits
95
platforms, and thus you can just use `UInt64` instead.
96
97
-C types don't support methods and operators, and C structures aren't compatible
98
-with generic type parameters. This means you'll either need to cast the types
99
-(e.g. casting an `Int32` to `Int`), or wrap the data in a custom type.
+C types don't support methods and operators. This means you'll need to
+explicitly cast them to Inko types (e.g. `Int`) first.
100
101
C types are treated as value types and are allocated on the stack, including
102
structs (which we'll discuss later).
0 commit comments