src/gedlib/charmaps.c
/*=============================
 * create_xnode -- Create XNODE
 *  parent:  [in] parent of node to be created
 *  achar:   [in] start substring represented by this node
 *  string:  [in] replacement string for matches
 *===========================*/
- Create XNODE
parent:  [in] parent of node to be created
achar:   [in] start substring represented by this node
string:  [in] replacement string for matches
- Create XNODE parent : [ in ] parent of node to be created achar : [ in ] start substring represented by this node string : [ in ] replacement string for matches
static XNODE
create_xnode (XNODE parent, INT achar, STRING string)
{
	XNODE node = (XNODE) stdalloc(sizeof(*node));
	node->parent = parent;
	node->sibling = NULL;
	node->child = NULL;
	node->achar = achar;
	node->replace = string;
	node->count = string ? strlen(string) : 0;
	return node;
}
static XNODE create_xnode ( XNODE parent , INT achar , STRING string ) { XNODE node = ( XNODE ) stdalloc ( sizeof ( * node ) ) ; node -> parent = parent ; node -> sibling = NULL ; node -> child = NULL ; node -> achar = achar ; node -> replace = string ; node -> count = string ? strlen ( string ) : 0 ; return node ; }
create_xnode -- Create XNODE
  parent:  [in] parent of node to be created
  achar:   [in] start substring represented by this node
  string:  [in] replacement string for matches
create_xnode -- Create XNODE parent : [ in ] parent of node to be created achar : [ in ] start substring represented by this node string : [ in ] replacement string for matches