Files
fx/fx/object.h
T
2026-05-02 21:01:17 +01:00

20 lines
379 B
C

#ifndef _OBJECT_H_
#define _OBJECT_H_
#include <fx/error.h>
#include <fx/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