Initializing help system before first use

stackfree

Purpose
Release memory from the Mosel execution stack.
Synopsis
void stackfree(XPRMcontext ctx, void *top);
Arguments
ctx 
Mosel's execution context
top 
New stack level
Further information
This function restores the level of the Mosel execution stack to the specified address. This reference address is a pointer returned by a preceding call to stackalloc and all the memory allocated by any following invocation of the memory allocator are also released ( i.e. if several memory blocks have been allocated on the stack only the first one must be released with this function independently of the relative order of the corresponding addresses).
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.