NAME ^

src/exec_save.c - Save object file in native format

DESCRIPTION ^

Save the Parrot_exec_objfile_t to the native format.

Functions ^

void Parrot_exec_save(PARROT_INTERP, Parrot_exec_objfile_t *obj, const char *file)
Save the Parrot_exec_objfile_t to file.
static void save_struct(FILE *fp, void *sp, size_t size)
Writes the struct sp to the file.
static void save_zero(FILE *fp)
Writes 0 to the file.
static void save_int(FILE *fp, int i)
Writes i to the file.
static void save_short(FILE *fp, short s)
Writes s to the file.

SEE ALSO ^

include/parrot/exec.h, src/exec_save.h, src/exec.c and src/exec_start.c.

HISTORY ^

Initial version by Daniel Grunblatt on 2003.6.9.


parrot