From 8bbde23f48eca2f51d56437fdce29c9443e21cb1 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 6 Nov 2016 15:05:52 +0000 Subject: Use apidsl for the crypto_core API. This allows us to use apidsl features like namespaces to enforce a naming standard. --- other/astyle/format-source | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'other/astyle') 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() { curl -X POST --data-binary @"$1" https://apidsl.herokuapp.com/apidsl } -# Check if toxcore.h and toxav.h match apidsl tox.in.h and toxav.in.h. +# Check if apidsl generated sources are up to date. +$APIDSL toxcore/crypto_core.api.h > toxcore/crypto_core.h $APIDSL toxcore/tox.api.h > toxcore/tox.h $APIDSL toxav/toxav.api.h > toxav/toxav.h -- cgit v1.2.3