mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 01:57:13 +00:00
* 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
29 lines
966 B
C
29 lines
966 B
C
/* This is a generated file, edit the .stub.php file instead.
|
|
* Stub hash: a629a07df494f8ae6563949b2819c833e9d73f9a */
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_aws_crt_last_error, 0, 0, IS_LONG, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_aws_crt_error_name, 0, 1, IS_STRING, 0)
|
|
ZEND_ARG_TYPE_INFO(0, error_code, IS_LONG, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
#define arginfo_aws_crt_error_str arginfo_aws_crt_error_name
|
|
|
|
#define arginfo_aws_crt_error_debug_str arginfo_aws_crt_error_name
|
|
|
|
|
|
ZEND_FUNCTION(aws_crt_last_error);
|
|
ZEND_FUNCTION(aws_crt_error_name);
|
|
ZEND_FUNCTION(aws_crt_error_str);
|
|
ZEND_FUNCTION(aws_crt_error_debug_str);
|
|
|
|
|
|
static const zend_function_entry ext_functions[] = {
|
|
ZEND_FE(aws_crt_last_error, arginfo_aws_crt_last_error)
|
|
ZEND_FE(aws_crt_error_name, arginfo_aws_crt_error_name)
|
|
ZEND_FE(aws_crt_error_str, arginfo_aws_crt_error_str)
|
|
ZEND_FE(aws_crt_error_debug_str, arginfo_aws_crt_error_debug_str)
|
|
ZEND_FE_END
|
|
};
|