mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
Fix #356 - fix names conflict with ruby bindings
This commit is contained in:
parent
a60cf2df8d
commit
9c94e4a2dc
@ -39,7 +39,10 @@ typedef struct _SHA512_CTX {
|
||||
} R_SHA512_CTX;
|
||||
typedef R_SHA512_CTX R_SHA384_CTX;
|
||||
|
||||
typedef struct r_hash_t {
|
||||
/* Fix names conflict with ruby bindings */
|
||||
#define RHash struct r_hash_t
|
||||
|
||||
struct r_hash_t {
|
||||
R_MD5_CTX md5;
|
||||
R_SHA_CTX sha1;
|
||||
R_SHA256_CTX sha256;
|
||||
@ -47,7 +50,7 @@ typedef struct r_hash_t {
|
||||
R_SHA512_CTX sha512;
|
||||
int rst;
|
||||
ut8 digest[128];
|
||||
} RHash;
|
||||
};
|
||||
|
||||
typedef struct r_hash_seed_t {
|
||||
int prefix;
|
||||
|
Loading…
Reference in New Issue
Block a user