Skip to content

Commit

Permalink
🎨 move VM defines
Browse files Browse the repository at this point in the history
  • Loading branch information
fennecdjay committed Feb 17, 2024
1 parent b40e724 commit ee0fbca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
#define container_of(ptr, type, member) \
((type *)((char *)(ptr)-offsetof(type, member)))

#define MEM_STEP 16
#define SIZEOF_MEM (0x1 << MEM_STEP)
#define SIZEOF_REG (0x1 << 14)

#define ANN __attribute__((nonnull))
#define ANN2(...) __attribute__((nonnull(__VA_ARGS__)))
//#define ANEW __attribute__((returns_nonnull,malloc))
Expand Down

0 comments on commit ee0fbca

Please sign in to comment.