summaryrefslogtreecommitdiff
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-26 21:03:31 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-26 21:03:31 +0000
commitcd9523853d03d6b341219801af8a1d44635ac825 (patch)
tree0df08aa035846d9e84a1b988f79d184ac55e4ac7 /src/common/utils.h
parent0507af994a40360293a1da770e8e66c58cf7b632 (diff)
downloadhercules-cd9523853d03d6b341219801af8a1d44635ac825.tar.gz
hercules-cd9523853d03d6b341219801af8a1d44635ac825.tar.bz2
hercules-cd9523853d03d6b341219801af8a1d44635ac825.tar.xz
hercules-cd9523853d03d6b341219801af8a1d44635ac825.zip
* Changed the string hash of the script engine to SDBM.
* Reporting information about script data when an error occurs. * More work on ticket #41 (array functions). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10813 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index ba02fc5f1..66ce04c99 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -38,9 +38,9 @@ void findfile(const char *p, const char *pat, void (func)(const char*));
// byte word dword access [Shinomori]
//////////////////////////////////////////////////////////////////////////
-extern unsigned char GetByte(unsigned long val, size_t num);
-extern unsigned short GetWord(unsigned long val, size_t num);
-extern unsigned short MakeWord(unsigned char byte0, unsigned char byte1);
-extern unsigned long MakeDWord(unsigned short word0, unsigned short word1);
+extern uint8 GetByte(uint32 val, size_t num);
+extern uint16 GetWord(uint32 val, size_t num);
+extern uint16 MakeWord(uint8 byte0, uint8 byte1);
+extern uint32 MakeDWord(uint16 word0, uint16 word1);
#endif /* _UTILS_H_ */