Added aws_error* functions to native extension (#12)

* Added aws_crt_error_str and test, removed awscrt_version test function

* Added aws_crt_error_name

* Added aws_crt_error_debug_str

* Use PHP's own tools to generate arginfo

* Only re-generate arginfo on php7+

* Added a definition for ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX for php5

* Ignore generated files for clang-format
This commit is contained in:
Justin Boswell
2021-02-24 10:16:32 -08:00
committed by GitHub
parent 778eafcf05
commit 5eaaa70cf1
12 changed files with 138 additions and 34 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ if NOT type $CLANG_FORMAT 2> /dev/null ; then
fi
FAIL=0
SOURCE_FILES=`find ext -type f \( -name '*.h' -o -name '*.c' \)`
SOURCE_FILES=`find src ext -type f \( -name '*.h' -o -name '*.c' \)`
for i in $SOURCE_FILES
do
$CLANG_FORMAT -output-replacements-xml $i | grep -c "<replacement " > /dev/null