00001 /* 00002 || This file is part of Pike. For copyright information see COPYRIGHT. 00003 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING 00004 || for more information. 00005 || $Id: stuff.h,v 1.18 2004/05/31 23:51:27 nilsson Exp $ 00006 */ 00007 00008 #ifndef STUFF_H 00009 #define STUFF_H 00010 00011 #include "global.h" 00012 00013 /* Prototypes begin here */ 00014 PMOD_EXPORT int my_log2(size_t x) ATTRIBUTE((const)); 00015 PMOD_EXPORT int count_bits(unsigned INT32 x) ATTRIBUTE((const)); 00016 PMOD_EXPORT int is_more_than_one_bit(unsigned INT32 x) ATTRIBUTE((const)); 00017 PMOD_EXPORT double my_strtod(char *nptr, char **endptr); 00018 PMOD_EXPORT unsigned INT32 my_sqrt(unsigned INT32 n) ATTRIBUTE((const)); 00019 unsigned long find_good_hash_size(unsigned long x) ATTRIBUTE((const)); 00020 /* Prototypes end here */ 00021 00022 PMOD_EXPORT extern const INT32 hashprimes[32]; 00023 00024 #endif
1.3.9.1