#include <unistr.h> //u32_cpy\r
#include <unistdio.h> //ulc_fprintf\r
/* Local */\r
+#define eprintf_callback(...) exit(EXIT_FAILURE)\r
#include "print.h"\r
#include "apc.h"\r
#include "ir.h"\r
#include "pagenode.h"\r
-#undef do_error\r
-#define do_error(...) exit(-1)\r
#define XXH_PRIVATE_API\r
#include "../xxHash/xxhash.h"\r
/* Public */\r
linkdata->link.trg_set = set;\r
}\r
\r
+/* Assign a linkdatas trg_set */\r
+void ir_linkdata_assign_set\r
+( struct ir_link_t* link, struct ir_set_t* set )\r
+{ link->trg_set = set; }\r
+\r
+/* Assign a linkdatas type */\r
+void ir_linkdata_assign_type\r
+( struct ir_link_t* link, ltype type; )\r
+{ link->type = type; }\r
+\r
/* Get a setdata's next sibling */\r
union ir_setdata_t* ir_setdata_nextsib\r
( union ir_setdata_t* setdata )\r
)\r
{ setdata->header.filepos = newpos; }\r
\r
+/* Assign a setdatas name */\r
+void ir_setdata_assign_name\r
+( union ir_setdata_t* setdata, uint8_t* name )\r
+{ setdata->header.data_name = name;}\r
+\r
/* Return a framebox's specified framesheet */\r
union ir_setdata_t* ir_framebox_framesheet\r
( union ir_setdata_t* fbox,\r