mojoshader_preprocessor.c
changeset 841 05fa7ce0a202
parent 813 a8ec84003cd2
child 858 d51537335896
equal deleted inserted replaced
840:84a0c6807aa8 841:05fa7ce0a202
   381 IMPLEMENT_POOL(Define, define)
   381 IMPLEMENT_POOL(Define, define)
   382 
   382 
   383 
   383 
   384 // Preprocessor define hashtable stuff...
   384 // Preprocessor define hashtable stuff...
   385 
   385 
       
   386 // !!! FIXME: why isn't this using mojoshader_common.c's code?
       
   387 
   386 // this is djb's xor hashing function.
   388 // this is djb's xor hashing function.
   387 static inline uint32 hash_string_djbxor(const char *sym)
   389 static inline uint32 hash_string_djbxor(const char *sym)
   388 {
   390 {
   389     register uint32 hash = 5381;
   391     register uint32 hash = 5381;
   390     while (*sym)
   392     while (*sym)