| parrotcode: Functions for writing out packfiles | |
| Contents | C |

src/packout.c - Functions for writing out packfiles


opcode_t PackFile_pack_size(Interp*, struct PackFile *self)void PackFile_pack(Interp*, struct PackFile *self, opcode_t *cursor)PackFile_pack_size().PackFile_pack_size() before PackFile_pack()size_t PackFile_ConstTable_pack_size(struct PackFile_Segment *seg)opcode_t *PackFile_ConstTable_pack(Interp *, struct PackFile_Segment *seg, opcode_t *cursor)PackFile_pack_size().PackFile_pack_size() before PackFile_ConstTable_pack()static int find_in_const(PMC *key, int type)PARROT_ARG_SC key constant is in constant table,
so we have to search for it.opcode_t *PackFile_Constant_pack(Interp*, struct PackFile_Constant *self, opcode_t *cursor)PackFile_pack_size().PackFile_pack_size() before PackFile_Constant_pack()
Rework by Melvin; new bytecode format, make bytecode portable. (Do endian conversion and wordsize transforms on the fly.)
leo: rewrite to use new directory-based format.
|
|
|