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

20 lines
389 B
C

#ifndef _OBJECT_H_
#define _OBJECT_H_
#include <fx/core/error.h>
#include <fx/core/misc.h>
#include <stdint.h>
struct fx_type_registration;
struct _fx_object {
uint64_t obj_magic;
const struct fx_type_registration *obj_type;
unsigned int obj_ref, obj_main_priv_offset;
};
extern fx_result fx_object_instantiate(
struct fx_type_registration *type, struct _fx_object **out);
#endif