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. |