Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
15e7533c
Commit
15e7533c
authored
Feb 13, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/dev: clarify public symbols prefixes.
parent
5dd78ef3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
developer.texi
doc/developer.texi
+7
-2
No files found.
doc/developer.texi
View file @
15e7533c
...
@@ -165,8 +165,13 @@ prefix should be used, e.g. @samp{ff_w64_demuxer}.
...
@@ -165,8 +165,13 @@ prefix should be used, e.g. @samp{ff_w64_demuxer}.
For variables and functions used internally across multiple libraries, use
For variables and functions used internally across multiple libraries, use
@code
{
avpriv
_}
. For example, @samp
{
avpriv
_
aac
_
parse
_
header
}
.
@code
{
avpriv
_}
. For example, @samp
{
avpriv
_
aac
_
parse
_
header
}
.
@item
@item
For externally visible symbols, each library has its own prefix. Check
Each library has its own prefix for public symbols, in addition to the
the existing code and choose names accordingly.
commonly used @code
{
av
_}
(@code
{
avformat
_}
for libavformat,
@code
{
avcodec
_}
for libavcodec, @code
{
swr
_}
for libswresample, etc).
Check the existing code and choose names accordingly.
Note that some symbols without these prefixes are also exported for
retro-compatibility reasons. These exceptions are declared in the
@code
{
lib<name>/lib<name>.v
}
files.
@end itemize
@end itemize
Furthermore, name space reserved for the system should not be invaded.
Furthermore, name space reserved for the system should not be invaded.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment