/[emacs]/emacs/gc/doc/README.macros
ViewVC logotype

Diff of /emacs/gc/doc/README.macros

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.1 by fx, Thu Jun 5 18:23:05 2003 UTC revision 1.2.2.2 by fx, Mon Jun 16 15:36:56 2003 UTC
# Line 51  _DLL           Defined by Visual C++ if dynamic l Line 51  _DLL           Defined by Visual C++ if dynamic l
51                  __declspec(dllexport) needs to be added to declarations                  __declspec(dllexport) needs to be added to declarations
52                  to support the case in which the collector is in a dll.                  to support the case in which the collector is in a dll.
53    
54  GC_DLL          User-settable macro that forces the effect of _DLL.  GC_DLL          User-settable macro that forces the effect of _DLL.  Set
55                    by gc.h if _DLL is defined and GC_NOT_DLL is undefined.
56                    This is the macro that is tested internally to determine
57                    whether the GC is in its own dynamic library.  May need
58                    to be set by clients before including gc.h.  Note that
59                    inside the GC implementation it indicates that the
60                    collector is in its own dynamic library, should export
61                    its symbols, etc.  But in clients it indicates that the
62                    GC resides in a different DLL, its entry points should
63                    be referenced accordingly, and precautions may need to
64                    be taken to properly deal with statically allocated
65                    variables in the main program.  Used only for MS Windows.
66    
67  GC_NOT_DLL      User-settable macro that overrides _DLL, e.g. if dynamic  GC_NOT_DLL      User-settable macro that overrides _DLL, e.g. if dynamic
68                  libraries are used, but the collector is in a static library.                  libraries are used, but the collector is in a static library.

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26