diff options
author | Jordi Vilalta Prat | 2009-02-21 10:47:56 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2009-02-21 10:47:56 +0000 |
commit | 3cc6cdf71942aba796f8d282020d1955f2fd84ef (patch) | |
tree | af85e63f9e3c5438aec367e3e3398609f2db9eff /engines/sci/engine/gc.cpp | |
parent | 5d67e3de0f941fc3008c0609f8f9e8bb08ff1713 (diff) | |
download | scummvm-rg350-3cc6cdf71942aba796f8d282020d1955f2fd84ef.tar.gz scummvm-rg350-3cc6cdf71942aba796f8d282020d1955f2fd84ef.tar.bz2 scummvm-rg350-3cc6cdf71942aba796f8d282020d1955f2fd84ef.zip |
Replaced "typedef struct _state state_t" with "struct EngineState"
svn-id: r38678
Diffstat (limited to 'engines/sci/engine/gc.cpp')
-rw-r--r-- | engines/sci/engine/gc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/gc.cpp b/engines/sci/engine/gc.cpp index dca06db94f..c1ce2bb8dc 100644 --- a/engines/sci/engine/gc.cpp +++ b/engines/sci/engine/gc.cpp @@ -129,7 +129,7 @@ void add_outgoing_refs(void *pre_wm, reg_t addr) { worklist_push(wm->worklist_ref, wm->nonnormal_map, addr); } -reg_t_hash_map *find_all_used_references(state_t *s) { +reg_t_hash_map *find_all_used_references(EngineState *s) { seg_manager_t *sm = &(s->seg_manager); seg_interface_t **interfaces = (seg_interface_t**)sci_calloc(sizeof(seg_interface_t *), sm->heap_size); reg_t_hash_map *nonnormal_map = new reg_t_hash_map(); @@ -253,7 +253,7 @@ void free_unless_used(void *pre_use_map, reg_t addr) { } -void run_gc(state_t *s) { +void run_gc(EngineState *s) { int seg_nr; deallocator_t deallocator; seg_manager_t *sm = &(s->seg_manager); |