summaryrefslogtreecommitdiffstats
path: root/api/obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/obj.h')
-rw-r--r--api/obj.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/api/obj.h b/api/obj.h
index 29238c1..2ac0b51 100644
--- a/api/obj.h
+++ b/api/obj.h
@@ -1,9 +1,8 @@
#ifndef _JOVE_API_OBJ_H
#define _JOVE_API_OBJ_H 1
-#include <stdint.h>
-
typedef unsigned char objtype_t;
+typedef unsigned short objpath_part_t;
enum
{
@@ -33,8 +32,10 @@ enum
#define JOVE_PERM_ALL 7
-#define OBJDIR_NUM_ENTRIES (0x1000 / sizeof(uintmax_t))
+#define OBJDIR_SIZE 0x1000
+#define OBJDIR_ENTRIES (OBJDIR_SIZE / sizeof(uintmax_t))
-typedef uint16_t objpath_part_t;
+#define MESSAGE_ALIGN 0x1000
+#define MESSAGE_SIZE 0x1000
#endif