diff options
Diffstat (limited to 'src/include/open-axiom.h')
-rw-r--r-- | src/include/open-axiom.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/open-axiom.h b/src/include/open-axiom.h index 378e1802..391e12e3 100644 --- a/src/include/open-axiom.h +++ b/src/include/open-axiom.h @@ -70,4 +70,11 @@ typedef void* openaxiom_handle; # define OPENAXIOM_HAVE_GRAPHICS 1 #endif + +/* Return the address of the data buffer `BUF'. */ + +#define oa_buffer_address(BUF) ((openaxiom_byte*)&BUF[0]) + + + #endif /* OPENAXIOM_included */ |