FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
hook_printstr.c
Go to the documentation of this file.
1
/* print string entrypoint, default to console mode */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
FBCALL
void
fb_PrintBufferEx
(
const
void
*
buffer
,
size_t
len,
int
mask )
7
{
8
FB_LOCK
();
9
10
if
(
__fb_ctx
.
hooks
.
printbuffproc
)
11
__fb_ctx
.
hooks
.
printbuffproc
( buffer, len, mask );
12
else
13
fb_ConsolePrintBufferEx
( buffer, len, mask );
14
15
FB_UNLOCK
();
16
17
}
18
19
/*:::::*/
20
FBCALL
void
fb_PrintBuffer
(
const
char
*
buffer
,
int
mask )
21
{
22
23
return
fb_PrintBufferEx
( buffer, strlen( buffer ), mask );
24
25
}
rtlib
hook_printstr.c
Generated on Thu Jan 23 2014 19:40:12 for FreeBASIC by
1.8.4