Mercurial > almixer_isolated
comparison CMakeLists.txt @ 13:54aa96ae8912
Added LinkedList class to project.
ALmixer now saves ALmixer_Data instances in a private linked list so when Quit is called, this memory can be cleaned up.
This is meant to deal with two problems. First, SDL_sound does something similar which means since I wrap SDL_sound structures, I may be left with dangling pointers if. Second is the obvious auto-cleanup when quiting which is convenient for resetting.
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sat, 06 Nov 2010 00:37:29 -0700 |
parents | a71ed111a627 |
children |
comparison
equal
deleted
inserted
replaced
12:bfe90b4f3d87 | 13:54aa96ae8912 |
---|---|
60 | 60 |
61 SET(ALMIXER_SOURCE | 61 SET(ALMIXER_SOURCE |
62 ${ALmixer_SOURCE_DIR}/ALmixer.c | 62 ${ALmixer_SOURCE_DIR}/ALmixer.c |
63 ${ALmixer_SOURCE_DIR}/CircularQueue.c | 63 ${ALmixer_SOURCE_DIR}/CircularQueue.c |
64 ${ALmixer_SOURCE_DIR}/CircularQueue.h | 64 ${ALmixer_SOURCE_DIR}/CircularQueue.h |
65 ${ALmixer_SOURCE_DIR}/LinkedList.c | |
66 ${ALmixer_SOURCE_DIR}/LinkedList.h | |
65 ) | 67 ) |
66 | 68 |
67 SET(PUBLIC_HEADERS | 69 SET(PUBLIC_HEADERS |
68 ${ALmixer_SOURCE_DIR}/ALmixer.h | 70 ${ALmixer_SOURCE_DIR}/ALmixer.h |
69 ) | 71 ) |