mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 15:48:00 +02:00
Remove ';' from slim_hidden_def. Bump version to 0.1.1
This commit is contained in:
parent
5b5c172803
commit
5d1bf0b96b
2 changed files with 11 additions and 3 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2003-09-09 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* configure.in (SLIM_VERSION): Bump version number to 0.1.1
|
||||
|
||||
* src/slim_internal.h (slim_hidden_def): Remove ';' from macro
|
||||
definition, (forcing the user to provide it which looks better
|
||||
anyway). This also helps to avoid confusing etags.
|
||||
|
||||
2003-07-31 Richard Henderson <rth@twiddle.net>
|
||||
|
||||
* src/slim_internal.h (__internal_linkage): Attribute visibility
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
If calls to foo within libfoo.so should always go to foo defined
|
||||
in libfoo.so, then in fooint.h you add:
|
||||
|
||||
hidden_proto (foo)
|
||||
slim_hidden_proto (foo)
|
||||
|
||||
and after the foo function definition:
|
||||
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
{
|
||||
return __bar;
|
||||
}
|
||||
hidden_def (foo)
|
||||
slim_hidden_def (foo);
|
||||
|
||||
This works by arranging for the C symbol "foo" to be renamed to
|
||||
"INT_foo" at the assembly level, which is marked __internal_linkage.
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
__internal_linkage;
|
||||
# define slim_hidden_def1(name, internal) \
|
||||
extern __typeof (name) EXT_##name __asm__(slim_hidden_asmname(name)) \
|
||||
__attribute__((__alias__(slim_hidden_asmname(internal))));
|
||||
__attribute__((__alias__(slim_hidden_asmname(internal))))
|
||||
# define slim_hidden_ulp slim_hidden_ulp1(__USER_LABEL_PREFIX__)
|
||||
# define slim_hidden_ulp1(x) slim_hidden_ulp2(x)
|
||||
# define slim_hidden_ulp2(x) #x
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue