FreeBASIC  0.91.0
strw_hex_ptr.c
Go to the documentation of this file.
1 /* whex(any ptr) function */
2 
3 #include "fb.h"
4 
6 {
7 #ifdef HOST_64BIT
8  return fb_WstrHex_l( (unsigned long long int)p );
9 #else
10  return fb_WstrHex_i( (unsigned int)p );
11 #endif
12 }
13 
14 FBCALL FB_WCHAR *fb_WstrHexEx_p( void *p, int digits )
15 {
16 #ifdef HOST_64BIT
17  return fb_WstrHexEx_l( (unsigned long long int)p, digits );
18 #else
19  return fb_WstrHexEx_i( (unsigned int)p, digits );
20 #endif
21 }