mirror of
https://github.com/cc65/cc65.git
synced 2024-06-28 19:29:53 +00:00
Add pragma once to the documentation
This commit is contained in:
parent
30ff2bdc6b
commit
98208e7e95
|
@ -1681,6 +1681,16 @@ void somefunc2(int, char *);
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
|
|
||||||
|
|
||||||
|
<sect1><tt>#pragma once</tt><label="pragma-once"><p>
|
||||||
|
|
||||||
|
This pragma is used to prevent multiple inclusion of a header file.
|
||||||
|
If this pragma is preprocessed in a file, any posterior
|
||||||
|
<tt>#include<tt> which targets the current file will be ignored.
|
||||||
|
|
||||||
|
Two files are considered to be the same by this directive if they
|
||||||
|
share the same absolute path. In the case of symbolic links,
|
||||||
|
the canonical, resolved path is considered instead.
|
||||||
|
|
||||||
|
|
||||||
<sect>Register variables<label id="register-vars"><p>
|
<sect>Register variables<label id="register-vars"><p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user