Added read_bytes method to loader.c, improved error messages.
commitd0857d9676a40732b56c7f4be68bca898e5862e8
authorEvanR <evanrinehart@gmail.com>
Sat, 27 Feb 2010 22:23:18 +0000 (27 16:23 -0600)
committerEvanR <evanrinehart@gmail.com>
Sat, 27 Feb 2010 22:43:31 +0000 (27 16:43 -0600)
tree96817bfe51feba3f662f8cb9e88a7eaed0e55a02
parent2340ff67b22b05cea7a6da42947c8fccede7d0ea
Added read_bytes method to loader.c, improved error messages.

And it is now an error in the binary reader methods to reach
the end of file before all bytes were read.
loader.c
loader.h