Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/lindaapi.h @ 577:e3f3cfa8794f
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 23 Oct 2009 17:18:41 +0900 |
parents | cc989924f469 |
children | 1733f3cbfa28 |
line wrap: on
line diff
--- a/Renderer/Engine/lindaapi.h Fri Oct 23 17:02:47 2009 +0900 +++ b/Renderer/Engine/lindaapi.h Fri Oct 23 17:18:41 2009 +0900 @@ -69,6 +69,7 @@ extern unsigned char *psx_reply(unsigned int seq); extern void psx_sync_n(void); extern unsigned int psx_get_datalength(unsigned char *); +extern unsigned char *psx_get_data(unsigned char *); extern unsigned int psx_get_seq(unsigned char *); extern unsigned short psx_get_id(unsigned char *); extern unsigned char psx_get_mode(unsigned char *); @@ -79,7 +80,6 @@ extern int psx_ld(unsigned int tspace_id, unsigned int id, char mode, void(*callback)(unsigned char *,void *),void * obj); -#define psx_get_data(tuple) ((tuple)+LINDA_HEADER_SIZE) #define psx_in(tid, id) psx_ld(tid, id, 'i', NULL, NULL) #define psx_rd(tid, id) psx_ld(tid, id, 'r', NULL, NULL) #define psx_ck(tid, id) psx_ld(tid, id, 'c', NULL, NULL)