00001 // Filename: lookup3.h 00002 // Created by: drose (01Sep06) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef LOOKUP3_H 00016 #define LOOKUP3_H 00017 00018 #include "dtoolbase.h" 00019 #include "numeric_types.h" 00020 00021 #ifdef __cplusplus 00022 extern "C" { 00023 #endif 00024 00025 EXPCL_DTOOL PN_uint32 hashword(const PN_uint32 *k, /* the key, an array of PN_uint32 values */ 00026 size_t length, /* the length of the key, in PN_uint32s */ 00027 PN_uint32 initval); 00028 00029 #ifdef __cplusplus 00030 }; /* end of extern "C" */ 00031 #endif 00032 00033 #endif 00034 00035 00036