Wrote better checks for illegal actions.
authorPhilip Chimento <philip.chimento@gmail.com>
Sun, 29 Mar 2009 21:25:45 +0000 (21:25 +0000)
committerPhilip Chimento <philip.chimento@gmail.com>
Sun, 29 Mar 2009 21:25:45 +0000 (21:25 +0000)
commit2407b8e96d1a772f15eedb264117f20196fe1c51
treede11a2be1f66bba5a14ec36a66fd5b4792b705fc
parent3c678195610789166e1133575789f25da8f1a291
Wrote better checks for illegal actions.
Added "magic numbers" to the window, stream, and fileref structures, for better checking.
Added macros for checking and error reporting in magic.h.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@35 ddfedd41-794f-dd11-ae45-00112f111e67
14 files changed:
src/Makefile.am
src/charset.c
src/event.c
src/fileref.c
src/fileref.h
src/input.c
src/magic.c [new file with mode: 0644]
src/magic.h [new file with mode: 0644]
src/main.c
src/stream.c
src/stream.h
src/strio.c
src/window.c
src/window.h