Mercurial > SDL_sound_CoreAudio
comparison extra_rwops.c @ 490:c7ab783f05d3
Patched to compile.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 14 Sep 2005 16:01:27 +0000 |
parents | 137c0b00ea4c |
children | 8e9720b66e55 |
comparison
equal
deleted
inserted
replaced
489:c00e26a7e0b6 | 490:c7ab783f05d3 |
---|---|
146 rwops_pool_mutex = SDL_CreateMutex(); | 146 rwops_pool_mutex = SDL_CreateMutex(); |
147 if (rwops_pool_mutex == NULL) | 147 if (rwops_pool_mutex == NULL) |
148 return(0); | 148 return(0); |
149 | 149 |
150 for (i = 0; i < preallocate; i++) | 150 for (i = 0; i < preallocate; i++) |
151 free_pooled_rwops(alloc_pooled_rwops()); | 151 RWops_pooled_free(RWops_pooled_alloc()); |
152 | 152 |
153 return(1); | 153 return(1); |
154 } /* RWops_pooled_init */ | 154 } /* RWops_pooled_init */ |
155 | 155 |
156 | 156 |