]> git.draconx.ca Git - upkg.git/commit
uobject: Make the relevant UPkg available to objects.
authorNick Bowler <nbowler@draconx.ca>
Wed, 16 May 2012 00:29:08 +0000 (20:29 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 16 May 2012 00:29:08 +0000 (20:29 -0400)
commit76b8a4bf05701afcd1be69ff4490a7c6be431dc4
tree281ddfe7f7ae55ea9047a5fb4a3a8403601941f9
parent8afa7b7717a5a2f45182a63d043401960fdeef92
uobject: Make the relevant UPkg available to objects.

Instead of passing around raw "struct upkg" pointers, keep the
GTypeModule implementation around instead (which contains this
information).  This allows access to all package functions; in
particular, it allows access to the package name.

Modify implementations to get the raw "struct upkg" from the upkg_file
reference instead.
src/engine/music.gob
src/engine/texture.gob
src/uobject/uobject.c
src/uobject/uobject.h
src/upkg.c