doc: fix link to initialization section in ffi section
The current link goes to doc/dev#init, where there is nothing about initialization. This PR fixes the link so that it points to the initialization section lower down on the ffi page.
This commit is contained in:
parent
4fa1a496b3
commit
5c7cf76575
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ If `n` is 0, the corresponding C declaration is
|
|||
extern s sym;
|
||||
```
|
||||
where `s` is the C translation of `β` as specified in the next section.
|
||||
In the case of an `@[extern]` definition, the symbol's value is guaranteed to be initialized only after calling the Lean module's initializer or that of an importing module; see [Initialization](.#init).
|
||||
In the case of an `@[extern]` definition, the symbol's value is guaranteed to be initialized only after calling the Lean module's initializer or that of an importing module; see [Initialization](#initialization).
|
||||
|
||||
If `n` is greater than 0, the corresponding C declaration is
|
||||
```c
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue