C++
struct resbuf * acutNewRb( int v );
File
acutads.h
Description
Allocates a new result buffer and returns a pointer to it.
If v is not valid, acutNewRb() still returns a pointer, but a subsequent call to acutRelRb() may not release the correct amount of memory.
Note An ARX application is responsible for releasing the memory it allocates. All result buffers allocated by acutNewRb() should be released by matching calls to acutRelRb().
Parameters
Parameters | Description |
---|---|
v | Result type field to set for the new result buffer; either one of the result type codes defined in adscodes.h (for example, RTPOINT) or a valid DXF group code (for example, 10) |