/* $Id$
This file is part of libmspal
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
+Copyright © 2008-2009 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
return memsrc.pos;
}
-void memory_close(void *src)
+int memory_close(void *src)
{
delete reinterpret_cast<MemorySource *>(src);
+ return 0;
}
long memory_tell(void *src)
{
&memory_read,
&memory_seek,
- 0,
+ &memory_close,
&memory_tell
};