]> git.draconx.ca Git - upkg.git/commit
uobject: Implement an interface for loading/unloading.
authorNick Bowler <nbowler@draconx.ca>
Mon, 13 Jul 2009 22:32:19 +0000 (18:32 -0400)
committerNick Bowler <nbowler@draconx.ca>
Mon, 13 Jul 2009 22:32:19 +0000 (18:32 -0400)
commitca8ee16cfde42ea27d40f8e45fa6d96dc24cd5d9
tree2cbca45ae9839a50ed5678c9a43b8e131fcbd6f8
parent94fc44d9acf969477faac61bd60a6812404727f9
uobject: Implement an interface for loading/unloading.

This allows, for example, an instance of Engine.Music to load its music
data only when required.  It may be useful to keep around an instance
without allocating gobs of memory to store data that won't be used.
src/Makefile.am
src/engine/music.c
src/loadable.c [new file with mode: 0644]
src/loadable.h [new file with mode: 0644]
src/upkg.c