diff options
author | Michael Wallner <mike@php.net> | 2013-08-06 22:45:35 +0200 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2013-08-06 22:49:56 +0200 |
commit | 14caf174ff219376e4f1234bd297ffe973cc416e (patch) | |
tree | 73532567f2c68b42ad55efbbaf1d85d7f81f6255 /ext/hash/php_hash.h | |
parent | ca0497bba2222c282c39048776a9f61052e67643 (diff) | |
download | php-git-14caf174ff219376e4f1234bd297ffe973cc416e.tar.gz |
unify stdint type usage
if you need C99 stdint types, just include "php_stdint.h"
Diffstat (limited to 'ext/hash/php_hash.h')
-rw-r--r-- | ext/hash/php_hash.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/hash/php_hash.h b/ext/hash/php_hash.h index 4bfddbacd9..3f5e7ced3a 100644 --- a/ext/hash/php_hash.h +++ b/ext/hash/php_hash.h @@ -22,7 +22,6 @@ #define PHP_HASH_H #include "php.h" -#include "php_hash_types.h" #define PHP_HASH_EXTNAME "hash" #define PHP_HASH_EXTVER "1.0" @@ -30,6 +29,12 @@ #define PHP_HASH_HMAC 0x0001 +#define L64 INT64_C +#define php_hash_int32 int32_t +#define php_hash_uint32 uint32_t +#define php_hash_int64 int64_t +#define php_hash_uint64 uint64_t + typedef void (*php_hash_init_func_t)(void *context); typedef void (*php_hash_update_func_t)(void *context, const unsigned char *buf, unsigned int count); typedef void (*php_hash_final_func_t)(unsigned char *digest, void *context); |