Use function VTable function-table
authorColomban Wendling <ban@herbesfolles.org>
Thu, 8 Jul 2010 17:58:12 +0000 (19:58 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Thu, 8 Jul 2010 17:58:12 +0000 (19:58 +0200)
commitf7f97f60f4b80128cf8a929d75a78b3a4ad90e0b
tree185a38f1a376f1d87b4a7961450ed5ef1905ddaa
parenta0662d058e66d69b8a529284b322a0bdef3b572e
Use function VTable

Don't check for the type of the stream on each call but rather call
a virtual function binded to the correct one at stream creation time.
mio/mio-file.c [new file with mode: 0644]
mio/mio-memory.c [new file with mode: 0644]
mio/mio.c
mio/mio.h