Mercurial > repos > blastem
diff tern.h @ 631:de6f00204fa2
Add support for disassembling VOS program modules
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 11 Oct 2014 20:32:17 -0700 |
parents | 51bf87f76d15 |
children | 1b2f8280ba81 |
line wrap: on
line diff
--- a/tern.h Wed Oct 08 22:18:34 2014 -0700 +++ b/tern.h Sat Oct 11 20:32:17 2014 -0700 @@ -8,6 +8,8 @@ #include <stdint.h> +#define MAX_INT_KEY_SIZE (sizeof(uint32_t) + 2) + typedef union { void *ptrval; intptr_t intval; @@ -31,5 +33,6 @@ void * tern_find_ptr_default(tern_node * head, char * key, void * def); void * tern_find_ptr(tern_node * head, char * key); tern_node * tern_insert_ptr(tern_node * head, char * key, void * value); +char * tern_int_key(uint32_t key, char * buf); #endif //TERN_H_