Click here to show toolbars of the Web Online Help System: show toolbars
 

| Customize Help
| Save Settings

McodeFree



Function Map
Synopsis
Free a code context or a code result buffer.
Syntax
void McodeFree(
MIL_ID ContextOrResultCodeId //in
)
Description

This function deletes the specified code context (and all its models) or code result buffer identifier, and releases any memory associated with it.

To only delete individual models in the context, use McodeModel() with M_DELETE.

All code contexts and all code result buffers allocated on a particular system must be freed before the system can be freed.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameter
ContextOrResultCodeId

Specifies the identifier of the code context or code result buffer to free. These must have been successfully allocated (with McodeAlloc() or McodeAllocResult()) prior to calling this function.

Compilation information
Header Include mil.h.
Library Use mil.lib; milcode.lib.
DLL Requires mil.dll; milcode.dll.