view src/parallel_execution/examples/new_wc/wcStringImpl.cbc @ 1026:a48a77a88b4e

tweak
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Thu, 31 Mar 2022 13:59:06 +0900
parents
children
line wrap: on
line source

#include "../../../context.h"
#interface "wcString.h"

// ----
// typedef struct wcStringImpl <> impl wcString {
//     char* string;
//     __code next(...);
// } wcStringImpl;
// ----

* createwcString(struct Context* context) {
    struct * char* string;  = new ();
    struct wcString* wc_string = new wcString();
    char* string;->char* string; = (union Data*)wc_string;
    wc_string->wcString = NULL;
    return char* string;;
}