docs(ffi-linkage): Phase 9.3-docs — purge 'foreign' from specs/readme/CLAUDE
Reword to the extern/runtime-class vocabulary: 'Foreign Function Interface' heading →
'C Interop'; 'foreign class'→'runtime class'; '#import c foreign decls'→'extern decls';
'foreign function calls'→'extern function calls'; the host_ffi #foreign("c") ref →
extern; the bundling 'foreign calls'→'extern calls'. Docs-only; zero 'foreign' left in
specs.md/readme.md/CLAUDE.md.
This commit is contained in:
@@ -208,8 +208,8 @@ function is bare-callable (`i2(10)`). A backtick name used as a type resolves to
|
||||
`` `name ``-declared type — including a parameterized template (`` `i2(i64) ``) and
|
||||
under pointer/optional wrappers — else a normal `unknown type` error.
|
||||
|
||||
Foreign declarations from `#import c { … }` are exempt automatically: C names that
|
||||
collide with reserved type names (e.g. `i1`, `i2`) import unedited, and a foreign
|
||||
Extern declarations from `#import c { … }` are exempt automatically: C names that
|
||||
collide with reserved type names (e.g. `i1`, `i2`) import unedited, and an extern
|
||||
reserved-name function is bare-callable by its C name.
|
||||
|
||||
### Structs
|
||||
|
||||
Reference in New Issue
Block a user