diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-31 06:23:24 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-31 06:23:24 +0000 |
| commit | 3c1d46c0484a7a91b6c8b530847ed57bea6318c3 (patch) | |
| tree | 6a75b71188e07292c3f209f9d9f80edc78806bb0 /src/engine/interface.h | |
| parent | 3014707fe555d12fdfcec3d828d9deeeef5c45e8 (diff) | |
| download | zcatch-3c1d46c0484a7a91b6c8b530847ed57bea6318c3.tar.gz zcatch-3c1d46c0484a7a91b6c8b530847ed57bea6318c3.zip | |
made everything as const on the client so its more clear that you shouldn't change the snapshots
Diffstat (limited to 'src/engine/interface.h')
| -rw-r--r-- | src/engine/interface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/interface.h b/src/engine/interface.h index 960be724..64ff202e 100644 --- a/src/engine/interface.h +++ b/src/engine/interface.h @@ -490,7 +490,7 @@ int snap_num_items(int snapid); Returns: Returns a pointer to the item if it exists, otherwise NULL. */ -void *snap_get_item(int snapid, int index, snap_item *item); +const void *snap_get_item(int snapid, int index, snap_item *item); /* Function: snap_find_item @@ -506,7 +506,7 @@ void *snap_get_item(int snapid, int index, snap_item *item); Returns: Returns a pointer to the item if it exists, otherwise NULL. */ -void *snap_find_item(int snapid, int type, int id); +const void *snap_find_item(int snapid, int type, int id); /* Function: snap_input |