]> granicus.if.org Git - gc/commit
Fix visibility of GC_push_all/conditional, GC_push_other_roots symbols
authorIvan Maidanski <ivmai@mail.ru>
Sat, 2 Jun 2012 08:33:03 +0000 (12:33 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 2 Jun 2012 09:34:56 +0000 (13:34 +0400)
commit10a0853c798a9c8fb001572dcdcf2e45ad7bb1f8
treeb5ab5dc4e3bd9f3bc4a2438c2677881de3a3ca6c
parentf85b8bf6bdee94b3090fdcc75a59da88081912e1
Fix visibility of GC_push_all/conditional, GC_push_other_roots symbols

* include/private/gc_priv.h (GC_push_all, GC_push_other_roots):
Declare as GC_API_PRIV (instead of GC_INNER) to make the symbol
externally visible to some well-known 3rd-party software (e.g., ECL).
* include/private/gc_priv.h (GC_push_conditional): Declare as
GC_API_PRIV (only if GC_DISABLE_INCREMENTAL is undefined).
* mark.c (GC_push_all, GC_push_conditional): Remove GC_INNER (to match
the declaration).
* os_dep.c (GC_push_other_roots): Likewise.
include/private/gc_priv.h
mark.c
os_dep.c