SL_CreateNodeA


NAME
SL_CreateNodeA -- allocates a NODEHANDLE.
SL_CreateNode -- varargs stub for SL_CreateNodeA.

SYNOPSIS
nh = SL_CreateNodeA(apphandle, extended_data_len, tags);
D0 A0 D0 A2

void *SL_CreateNodeA(APPHANDLE, SLMSIZE, struct TagItem *);

nh = SL_CreateNode(apphandle, extended_data_len, tag, ...);

void *SL_CreateNode(APPHANDLE, SLMSIZE, Tag, ...);

FUNCTION
Allocates a NODEHANDLE that has extended_data_len bytes associate
with it.

The function returns a pointer to the extended data.

INPUTS
apphandle - as returned by SL_AppInitA.
extended_data_len - This is the number of bytes to associate with this
node. This may be 0.
tags - a pointer to a tag list. See SL_SetNodeAttrA for a description
of the tags this call uses.

RESULTS
nh - a pointer to the extended data if successful, NULL if it fails.

EXAMPLE
struct project *p;

if(1))
{
}

SEE ALSO
SL_AddNodeAfter, SL_AddNodeBefore, SL_AddNodeHead, SL_AddNodeSorted, SL_AddNodeSortedFunc, SL_AddNodeTail, SL_ClearList, SL_CountNodes, SL_CreateListA, SL_CreateNodeA, SL_FindNodeFunc, SL_FindNodeName, SL_FindNodePos, SL_FindNodeUserData, SL_FirstNode, SL_FreeList, SL_FreeNode, SL_GetListAttr, SL_GetNodeAttr, SL_IsListEmpty, SL_LastNode, SL_NextNode, SL_PrevNode, SL_RemoveNode, SL_RemoveNodeHead, SL_RemoveNodeTail, SL_SetListAttrA, SL_SetNodeAttrA, SL_SortList, SL_SortListField, SL_SortListFieldRange, SL_SortListFunc, SL_SortListFuncRange, SL_SortListRange.

1. p=SL_CreateNodeA(ah, sizeof(struct project), 0

 

SL_CreateNodeA  Command Section By Type  url:SL_CreateNodeA
  created:2008-03-01 23:36:12   last updated:2008-03-01 23:36:12
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_CreateNodeA
There are no user contributed comments for this page.