FreeBASIC  0.91.0
hook_lineinp_wstr.c
Go to the documentation of this file.
1 /* console line input function */
2 
3 #include "fb.h"
4 
6  (
7  const FB_WCHAR *text,
8  FB_WCHAR *dst,
9  ssize_t max_chars,
10  int addquestion,
11  int addnewline
12  )
13 {
15 
16  FB_LOCK();
18  FB_UNLOCK();
19 
20  if( fn )
21  return fn( text, dst, max_chars, addquestion, addnewline );
22  else
23  return fb_ConsoleLineInputWstr( text, dst, max_chars, addquestion, addnewline );
24 }