Help for this page

Select Code to Download


  1. or download this
    EdjeMessageStringSet* m = (EdjeMessageStringSet*) safemalloc( sizeof(E
    +dje_Message_String_Set) + (count-1)*sizeof(char *) );
    if (m == NULL) 
       croak("Failed to allocate memory in _new function\n");
    
  2. or download this
    typedef struct
    {
       int count;
       char *str[1];  // may be fine with [] or even just char* str (no su
    +bscript at all)
    } Edje_Message_String_Set;
    
  3. or download this
    typedef struct
    {
       int count;
       char** string_array;
    } Edje_Message_String_Set;