diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-11-06 15:05:52 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-11-12 11:55:40 +0000 |
commit | 8bbde23f48eca2f51d56437fdce29c9443e21cb1 (patch) | |
tree | faf5f63010742c65f27f759ec4d801f54154fdd4 /other/astyle | |
parent | a205b788ad118e91e013bac87c1eca1b8eadcbbe (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-x | other/astyle/format-source | 3 |
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 | ||