Mine
public text v1 · immutable#ifndef __LWC_COMPONENT_INCLUDED
#define __LWC_COMPONENT_INCLUDED
#include <string.h>
typedef int lwc_init(int smth);
typedef void lwc_set_attribute(char *name, void *attr);
typedef struct {
lwc_init *init;
lwc_set_attribute *set_attribute;
} lwc_component;
void register_component(lwc_component *comp);
#endif
lwc_component test_data = {test_component_init, NULL};
comp->init(3);