diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-25 06:54:04 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-04 09:29:15 +0000 |
commit | 064ffe58756f1adbd1917689ea79db95756d535e (patch) | |
tree | 23441f9ff49793ed40059941c022236b92c77140 /other | |
parent | 7f8b29c3465bae5b34999ad417508c2d0f6e6946 (diff) |
Make a separate `struct Tox` containing the Messenger.
This allows Tox to contain additional data on top of Messenger, making
Messenger not necessarily the most top-level object. E.g. groups are
built on Messenger and currently awkwardly void-pointered into it to
pretend there is no cyclic dependency.
Diffstat (limited to 'other')
-rw-r--r-- | other/analysis/gen-file.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/other/analysis/gen-file.sh b/other/analysis/gen-file.sh index 89144eff..8c320acf 100644 --- a/other/analysis/gen-file.sh +++ b/other/analysis/gen-file.sh | |||
@@ -40,9 +40,6 @@ echo "#include <cstdio>" >> amalgamation.cc | |||
40 | echo "#include <memory>" >> amalgamation.cc | 40 | echo "#include <memory>" >> amalgamation.cc |
41 | echo "#include <random>" >> amalgamation.cc | 41 | echo "#include <random>" >> amalgamation.cc |
42 | 42 | ||
43 | echo "#define TOX_DEFINED" >> amalgamation.cc | ||
44 | echo "typedef struct Messenger Tox;" >> amalgamation.cc | ||
45 | |||
46 | put auto_tests/check_compat.h | 43 | put auto_tests/check_compat.h |
47 | 44 | ||
48 | FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'" | 45 | FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'" |