logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XmStringComponentCreate — A compound string function that creates arbitrary components

Description

XmStringComponentCreate creates a new XmString component of type c_type, containing value.  If  value  is
       invalid for the particular component type, this function fails and returns NULL.

       c_type    Specifies the type of component to be created.

       length    Specifies  the  length  in  bytes of value.  Note that this must be precisely the length of the
                 value string, not including any trailing null characters.

       value     Specifies the value to be used in the creation of the component.

       Refer to the XmStringComponentType(3) reference page for a list of the possible XmString component types.

Name

XmStringComponentCreate    —   A   compound   string   function   that   creates   arbitrary   components
       "XmStringComponentCreate"

Return

       If value is invalid for c_type, fails and returns NULL. Otherwise, this function returns a  new  compound
       string.   When  the application no longer needs the returned compound string, the application should call
       XmStringFree.

Synopsis

       #include <Xm/Xm.h>
       XmStringXmStringComponentCreate(
       XmStringComponentTypec_type,
       unsignedintlength,
       XtPointervalue);

See Also