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