Re: history of ORBIT2_INTERNAL_API ?
Jules Colding <[email protected]> Tue, 28 Mar 2006 08:50:05 +0200
| Newsgroups | gmane.comp.gnome.orbit.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2006-03-27 at 13:46 -0500, Michael Gong wrote: > Hi, > > I saw the macro "ORBIT2_INTERNAL_API" used heavily in the orbit2 code > base, and it looks like that macro is always defined in Makefile. So I > am curious about why it was used initially ? Did anyone know a bit of > its history ? It seems to have been introduced in this ChangeLog entry: 2001-10-30 Mark McLoughlin <[email protected]> * include/orbit/*/*.h: wrap all internal defines in #ifdef ORBIT2_INTERNAL_API and all defines for the benefits of stubs/skels in #ifdef ORBIT2_STUBS_API. * include/orbit/orb-core/Makefile.am: don't install empty files. * include/orbit/util/Makefile.am: ditto. * src/idl-compiler/Makefile.am: define ORBIT2_INTERNAL_API. * src/idl-compiler/orbit-idl-c-common.c: (orbit_idl_output_c_common): define ORBIT2_STUBS_API in generated code. * src/idl-compiler/orbit-idl-c-skels.c: (orbit_idl_output_c_skeletons): ditto. * src/idl-compiler/orbit-idl-c-stubs.c: * (orbit_idl_output_c_stubs): ditto. * src/idl-compiler/orbit-idl-c-headers.c: (ch_output_types): don't define exception marshallers in small mode. * src/orb/GIOP/Makefile.am: * src/orb/Makefile.am: * src/orb/dynamic/Makefile.am: * src/orb/orb-core/Makefile.am: * src/orb/poa/Makefile.am: * src/orb/util/Makefile.am: define ORBIT2_INTERNAL_API. * src/orb/util/genrand.c: don't include genrand.h. * src/orb/util/genrand.h: kill, duplicate of include/orbit/util/orbit-genrand.h. * test/Makefile.am: * test/everything/Makefile.am: define ORBIT2_INTERNAL_API. HTH, jules