Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
0fc189d1
Commit
0fc189d1
authored
Nov 28, 2013
by
Alexandre Duret-Lutz
Browse files
* HACKING: Typos.
parent
d719c706
Changes
1
Hide whitespace changes
Inline
Side-by-side
HACKING
View file @
0fc189d1
...
...
@@ -252,23 +252,23 @@ Exporting symbols
should still be private to the library, use a *.hh/*.cc pair of
files, but list both files in the _SOURCES variable of that
directory (see for instance weight.hh in tgbaalgos/Makefile.am).
This will ensure that
weight.hh
is not installed.
Needless to say, no public header should include such private
This will ensure that
the header
is not installed.
Needless to say, no public header should include such
a
private
header.
* The directory src/priv/ can be used to store file that are
globaly
private the library, and that do not really
fit
belongs to
other
directories.
* The directory src/priv/ can be used to store file
s
that are
globaly
private the library, and that do not really belongs to
other
directories.
* Functions and classes that are public should be marked with
the SPOT_API macro. This macro is defined in misc/common.hh,
but you need not include it in a file that already include
but you need not include it in a file that already include
s
another public header.
* Do not make a symbol public just because you can.
* Read http://www.akkadia.org/drepper/dsohowto.pdf for more
information about how shared librar
y
work and why
information about how shared librar
ies
work and why
.
Comments
--------
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment