FreeBASIC  0.91.0
strw_alloc.c
Go to the documentation of this file.
1 /* wstring allocation function */
2 
3 #include "fb.h"
4 
5 FBCALL FB_WCHAR *fb_WstrAlloc( ssize_t chars )
6 {
7  if( chars <= 0 )
8  return NULL;
9 
10  return fb_wstr_AllocTemp( chars );
11 }