Mercurial > pub > dyncall > dyncall
comparison dyncallback/dyncallback.3 @ 250:7cb8a0aaf638
- note about c99 (+ anon struct/union) requirements in doc
author | Tassilo Philipp |
---|---|
date | Sun, 14 May 2017 00:19:15 +0200 |
parents | 95f67e67feb0 |
children | e2899b4ff713 |
comparison
equal
deleted
inserted
replaced
249:91db39538e78 | 250:7cb8a0aaf638 |
---|---|
121 cb = dcbNewCallback("ifsdl)s", &cbHandler, &userdata); | 121 cb = dcbNewCallback("ifsdl)s", &cbHandler, &userdata); |
122 result = ((short(*)(int, float, short, double, long long))cb) | 122 result = ((short(*)(int, float, short, double, long long))cb) |
123 (123, 23.f, 3, 1.82, 9909ll); | 123 (123, 23.f, 3, 1.82, 9909ll); |
124 dcbFreeCallback(cb); | 124 dcbFreeCallback(cb); |
125 .Ed | 125 .Ed |
126 .Sh CONFORMING TO | |
127 The dyncallback library needs at least a c99 compiler with additional support | |
128 for anonymous structs/unions (which were introduced officially in c11). Given | |
129 that those are generally supported by pretty much all major c99 conforming | |
130 compilers (as default extension), it should build fine with a c99 toolchain. | |
131 Strictly speaking, dyncall conforms to c11, though. | |
132 .Ed | |
126 .Sh SEE ALSO | 133 .Sh SEE ALSO |
127 .Xr dyncall 3 , | 134 .Xr dyncall 3 , |
128 .Xr dynload 3 | 135 .Xr dynload 3 |
129 and the dyncall manual (available in HTML and PDF format) for more information. | 136 and the dyncall manual (available in HTML and PDF format) for more information. |
130 .Sh AUTHORS | 137 .Sh AUTHORS |