txtresize


Purpose
Resize and get a reference to the character buffer of a text object.
Synopsis
char *txtresize(XPRMctx ctx, void *sysctx, void *t, int s);
Arguments
ctx 
Mosel's execution context
sysctx 
Context of mmsystem
Reference to a text object
New size of the buffer (terminating 0 is not counted)
Return value
A reference to the new character buffer.
Further information
1. The buffer returned is terminated by the character 0 (like a C string) and can be modified as long as the size is not changed.
2. Since the memory management of the module may move text buffers when allocating memory, the pointer returned by this function is only valid until the next memory allocation.
Related topics
gettxtsize
Module
mmsystem


If you have any comments or suggestions about these pages, please send mail to support@fico.com.

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.