00001 #ifndef ABUSE_H 00002 #define ABUSE_H 00003 00004 #include <string> 00005 #include <stdexcept> 00006 #include <abuse/platform.h> 00007 #include <abuse/nomem_error.h> 00008 //#include <abuse/Debug.h> 00009 00011 typedef unsigned char byte; 00012 00014 00021 __inline int roundup(int what,int to) 00022 { 00023 return (what+to-1)&(to-1); 00024 } 00025 00027 00034 HMODULE getResourceModuleHandle(); 00035 00036 #endif 00037