FreeBASIC  0.91.0
hook_getsize.c
Go to the documentation of this file.
1 /* getsize entrypoint, default to console mode */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 FBCALL void fb_GetSize( int *cols, int *rows )
7 {
8  FB_LOCK();
9 
11  __fb_ctx.hooks.getsizeproc( cols, rows );
12  else
13  fb_ConsoleGetSize( cols, rows );
14 
15  FB_UNLOCK();
16 }
17