Files
fx/core/class.h
2026-03-16 10:35:43 +00:00

19 lines
335 B
C

#ifndef _CLASS_H_
#define _CLASS_H_
#include <fx/core/error.h>
#include <fx/core/misc.h>
#include <stdint.h>
struct fx_type_registration;
struct _fx_class {
uint64_t c_magic;
const struct fx_type_registration *c_type;
};
extern fx_result fx_class_instantiate(
struct fx_type_registration *type, struct _fx_class **out);
#endif