diff Renderer/Engine/lindaapi.h @ 576:cc989924f469

minor fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 23 Oct 2009 17:02:47 +0900
parents 2e1b6c5e4f8f
children e3f3cfa8794f
line wrap: on
line diff
--- a/Renderer/Engine/lindaapi.h	Fri Oct 23 15:53:24 2009 +0900
+++ b/Renderer/Engine/lindaapi.h	Fri Oct 23 17:02:47 2009 +0900
@@ -79,6 +79,7 @@
 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)