diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-30 17:50:59 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-30 19:31:40 +0100 |
commit | fa3b51266bdc13a6b5fafdc2518f89b03e5f084f (patch) | |
tree | 582c9e7a2ca197aab4fc90b1ec26821ae1765e30 /other/apidsl/tox.in.h | |
parent | 4692cea75e82d05c4facf97c8853819281f376cf (diff) |
Add missing #includes to headers and rename tox_old to tox_group.
Also, no longer #include the group code into tox.c. Instead, compile it
separately in tox_group.c. This is a bit less surprising to someone looking
around the code. Having some implementations in a .h file is certainly a bit
surprising to a disciplined C programmer, especially when there is no technical
reason to do it.
Diffstat (limited to 'other/apidsl/tox.in.h')
-rw-r--r-- | other/apidsl/tox.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/apidsl/tox.in.h b/other/apidsl/tox.in.h index 806fb76c..a280348a 100644 --- a/other/apidsl/tox.in.h +++ b/other/apidsl/tox.in.h | |||
@@ -2198,7 +2198,7 @@ inline namespace self { | |||
2198 | } // class tox | 2198 | } // class tox |
2199 | 2199 | ||
2200 | %{ | 2200 | %{ |
2201 | #include "tox_old.h" | 2201 | #include "tox_group.h" |
2202 | 2202 | ||
2203 | #ifdef __cplusplus | 2203 | #ifdef __cplusplus |
2204 | } | 2204 | } |