FreeBASIC  0.91.0
hook_print_wstr.c
Go to the documentation of this file.
1 /* print wstring entrypoint, default to console mode */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 FBCALL void fb_PrintBufferWstrEx( const FB_WCHAR *buffer, size_t len, int mask )
7 {
8  FB_LOCK();
9 
11  __fb_ctx.hooks.printbuffwproc( buffer, len, mask );
12  else
13  fb_ConsolePrintBufferWstrEx( buffer, len, mask );
14 
15  FB_UNLOCK();
16 
17 }
18 
19 /*:::::*/
20 FBCALL void fb_PrintBufferWstr( const FB_WCHAR *buffer, int mask )
21 {
22 
23  return fb_PrintBufferWstrEx( buffer, fb_wstr_Len( buffer ), mask );
24 
25 }