Changeset 806 in dev for branches/egtra/ab5.0/abdev/BasicCompiler_Common/hash.cpp
- Timestamp:
- Feb 12, 2011, 2:32:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/hash.cpp
r803 r806 12 12 13 13 using namespace ActiveBasic::Compiler; 14 15 int hash_default(const char *name){16 int key;17 18 for(key=0;*name!='\0';name++){19 key=((key<<8)+ *name )%MAX_HASH;20 }21 22 return key;23 }24 14 25 15 DllProc *GetDeclareHash(const char *fullName){
Note:
See TracChangeset
for help on using the changeset viewer.