summaryrefslogtreecommitdiff
path: root/other/astyle
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-11-06 15:05:52 +0000
committeriphydf <iphydf@users.noreply.github.com>2016-11-12 11:55:40 +0000
commit8bbde23f48eca2f51d56437fdce29c9443e21cb1 (patch)
treefaf5f63010742c65f27f759ec4d801f54154fdd4 /other/astyle
parenta205b788ad118e91e013bac87c1eca1b8eadcbbe (diff)
Use apidsl for the crypto_core API.
This allows us to use apidsl features like namespaces to enforce a naming standard.
Diffstat (limited to 'other/astyle')
-rwxr-xr-xother/astyle/format-source3
1 files changed, 2 insertions, 1 deletions
diff --git a/other/astyle/format-source b/other/astyle/format-source
index d623926d..c168b80b 100755
--- a/other/astyle/format-source
+++ b/other/astyle/format-source
@@ -34,7 +34,8 @@ apidsl_curl() {
34 curl -X POST --data-binary @"$1" https://apidsl.herokuapp.com/apidsl 34 curl -X POST --data-binary @"$1" https://apidsl.herokuapp.com/apidsl
35} 35}
36 36
37# Check if toxcore.h and toxav.h match apidsl tox.in.h and toxav.in.h. 37# Check if apidsl generated sources are up to date.
38$APIDSL toxcore/crypto_core.api.h > toxcore/crypto_core.h
38$APIDSL toxcore/tox.api.h > toxcore/tox.h 39$APIDSL toxcore/tox.api.h > toxcore/tox.h
39$APIDSL toxav/toxav.api.h > toxav/toxav.h 40$APIDSL toxav/toxav.api.h > toxav/toxav.h
40 41