From 064ffe58756f1adbd1917689ea79db95756d535e Mon Sep 17 00:00:00 2001 From: iphydf Date: Wed, 25 Jul 2018 06:54:04 +0000 Subject: 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. --- other/analysis/gen-file.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'other') 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 " >> amalgamation.cc echo "#include " >> amalgamation.cc echo "#include " >> amalgamation.cc -echo "#define TOX_DEFINED" >> amalgamation.cc -echo "typedef struct Messenger Tox;" >> amalgamation.cc - put auto_tests/check_compat.h FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'" -- cgit v1.2.3