ossp-pkg/act/act_grid.h 1.3 -> 1.4
--- act_grid.h 2002/01/02 17:05:53 1.3
+++ act_grid.h 2002/01/18 17:31:39 1.4
@@ -26,16 +26,17 @@
** act_grid.h: memory grid (declaration)
*/
-#ifndef _ACT_GRID_H_
-#define _ACT_GRID_H_
+#ifndef __ACT_GRID_H__
+#define __ACT_GRID_H__
struct act_grid_st;
typedef struct act_grid_st act_grid_t;
-extern act_grid_t *act_grid_create (act_ctx_t *ctx, size_t segnum, size_t segsize);
-extern void *act_grid_alloc (act_grid_t *grid);
-extern int act_grid_free (act_grid_t *grid, void *segptr);
-extern int act_grid_destroy (act_grid_t *grid);
+extern act_rc_t act_grid_create (act_grid_t **grid, act_ctx_t *ctx, size_t tile_size, int tile_num);
+extern act_rc_t act_grid_alloc (act_grid_t *grid, void **tile);
+extern act_rc_t act_grid_free (act_grid_t *grid, void *tile);
+extern act_rc_t act_grid_inside (act_grid_t *grid, void *tile);
+extern act_rc_t act_grid_destroy(act_grid_t *grid);
-#endif /* _ACT_GRID_H_ */
+#endif /* __ACT_GRID_H__ */
|
|