comparison 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
comparison
equal deleted inserted replaced
575:0f13810d4492 576:cc989924f469
77 extern int psx_out(unsigned int tspace_id, unsigned int id, 77 extern int psx_out(unsigned int tspace_id, unsigned int id,
78 unsigned char *data, unsigned int size); 78 unsigned char *data, unsigned int size);
79 extern int psx_ld(unsigned int tspace_id, unsigned int id, 79 extern int psx_ld(unsigned int tspace_id, unsigned int id,
80 char mode, void(*callback)(unsigned char *,void *),void * obj); 80 char mode, void(*callback)(unsigned char *,void *),void * obj);
81 81
82 #define psx_get_data(tuple) ((tuple)+LINDA_HEADER_SIZE)
82 #define psx_in(tid, id) psx_ld(tid, id, 'i', NULL, NULL) 83 #define psx_in(tid, id) psx_ld(tid, id, 'i', NULL, NULL)
83 #define psx_rd(tid, id) psx_ld(tid, id, 'r', NULL, NULL) 84 #define psx_rd(tid, id) psx_ld(tid, id, 'r', NULL, NULL)
84 #define psx_ck(tid, id) psx_ld(tid, id, 'c', NULL, NULL) 85 #define psx_ck(tid, id) psx_ld(tid, id, 'c', NULL, NULL)
85 #define psx_wait_rd(tid, id) psx_ld(tid, id, 'w', NULL, NULL) 86 #define psx_wait_rd(tid, id) psx_ld(tid, id, 'w', NULL, NULL)
86 87