Mercurial > pub > dyncall > dyncall
annotate dynload/dynload.c @ 645:6a8aac9b2bcf
- removal of `autovar` macro detection lib:
* was a good idea, but never fully pushed through, so code was duplicating most of dyncall_macros.h
* didn't find any outside use and plans to make it a standalone lib never materialized
* so basically removing code to avoid code duplication that risks to never stay in sync
author | Tassilo Philipp |
---|---|
date | Mon, 05 Feb 2024 16:43:59 +0100 |
parents | f5577f6bf97a |
children |
rev | line source |
---|---|
0 | 1 /* |
2 | |
3 Package: dyncall | |
4 Library: dynload | |
5 File: dynload/dynload.c | |
6 Description: Auto-include delegate to windows/posix-based dynamic linker. | |
7 License: | |
8 | |
281 | 9 Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, |
0 | 10 Tassilo Philipp <tphilipp@potion-studios.com> |
11 | |
12 Permission to use, copy, modify, and distribute this software for any | |
13 purpose with or without fee is hereby granted, provided that the above | |
14 copyright notice and this permission notice appear in all copies. | |
15 | |
16 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
17 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
18 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
19 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
20 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
21 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
22 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
23 | |
24 */ | |
25 | |
26 | |
645
6a8aac9b2bcf
- removal of `autovar` macro detection lib:
Tassilo Philipp
parents:
281
diff
changeset
|
27 #include "../dyncall/dyncall_macros.h" |
6a8aac9b2bcf
- removal of `autovar` macro detection lib:
Tassilo Philipp
parents:
281
diff
changeset
|
28 #if defined(DC_WINDOWS) |
0 | 29 # include "dynload_windows.c" |
645
6a8aac9b2bcf
- removal of `autovar` macro detection lib:
Tassilo Philipp
parents:
281
diff
changeset
|
30 #elif defined(DC_UNIX) |
217 | 31 # include "dynload_unix.c" |
0 | 32 #endif |
33 |