cao-0.1: backend_lib/C_generic/CAO_struct.h
#ifndef CAO_STRUCT_H
#define CAO_STRUCT_H
#include "CAO_globals.h"
#ifdef __cplusplus
#include "CAO_globalOp.h"
#include <cstdlib>
#include <iostream>
typedef struct CAO_struct_s {
int size;
char *types;
CAO_REF *fields;
} CAO_struct_s ;
extern "C" {
#endif
CAO_RES CAO_struct_decl(CAO_struct *, CAO_rint, const char *, void **);
CAO_RES _CAO_struct_decl(CAO_struct *, CAO_rint, const char *, void **, int *);
CAO_RES CAO_struct_const_init(CAO_struct, void *);
CAO_RES CAO_struct_init(CAO_struct, void **);
CAO_RES _CAO_struct_init(CAO_struct, void **, int *);
CAO_RES CAO_struct_assign(CAO_struct, CAO_struct);
CAO_RES CAO_struct_clone(CAO_struct *, CAO_struct);
CAO_RES CAO_struct_dispose(CAO_struct);
#define CAO_struct_equal(a,b,c) a = _CAO_struct_equal(b,c)
CAO_bool _CAO_struct_equal(CAO_struct, CAO_struct);
CAO_RES CAO_struct_select(CAO_REF, CAO_struct, CAO_rint);
CAO_REF CAO_struct_ref(CAO_struct, CAO_rint);
CAO_REF _CAO_struct_ref(CAO_struct, CAO_rint, char *);
CAO_RES CAO_struct_dump(CAO_struct);
#ifdef __cplusplus
}
#endif
#endif