summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-07-25 06:54:04 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-08-04 09:29:15 +0000
commit064ffe58756f1adbd1917689ea79db95756d535e (patch)
tree23441f9ff49793ed40059941c022236b92c77140 /other
parent7f8b29c3465bae5b34999ad417508c2d0f6e6946 (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.sh3
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
40echo "#include <memory>" >> amalgamation.cc 40echo "#include <memory>" >> amalgamation.cc
41echo "#include <random>" >> amalgamation.cc 41echo "#include <random>" >> amalgamation.cc
42 42
43echo "#define TOX_DEFINED" >> amalgamation.cc
44echo "typedef struct Messenger Tox;" >> amalgamation.cc
45
46put auto_tests/check_compat.h 43put auto_tests/check_compat.h
47 44
48FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'" 45FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'"