Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
3658d2df
Commit
3658d2df
authored
12 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
doc: developer: Add a note about reserved system name space
parent
56dea32f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/developer.texi
+8
-0
8 additions, 0 deletions
doc/developer.texi
with
8 additions
and
0 deletions
doc/developer.texi
+
8
−
0
View file @
3658d2df
...
@@ -200,6 +200,14 @@ For externally visible symbols, each library has its own prefix. Check
...
@@ -200,6 +200,14 @@ For externally visible symbols, each library has its own prefix. Check
the existing code and choose names accordingly.
the existing code and choose names accordingly.
@end itemize
@end itemize
Furthermore, name space reserved for the system should not be invaded.
Identifiers ending in @code
{_
t
}
are reserved by
@url
{
http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh
_
chap02
_
02.html#tag
_
02
_
02
_
02, POSIX
}
.
Also avoid names starting with @code
{__}
or @code
{_}
followed by an uppercase
letter as they are reserved by the C standard. Names starting with @code
{_}
are reserved at the file level and may not be used for externally visible
symbols. If in doubt, just avoid names starting with @code
{_}
altogether.
@subsection Miscellaneous conventions
@subsection Miscellaneous conventions
@itemize @bullet
@itemize @bullet
@item
@item
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment