File: heapi.h

package info (click to toggle)
rscheme 0.7.2-1.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 10,672 kB
  • ctags: 12,430
  • sloc: lisp: 37,104; ansic: 29,763; cpp: 2,630; sh: 1,677; makefile: 568; yacc: 202; lex: 175; perl: 33
file content (33 lines) | stat: -rw-r--r-- 1,023 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*-----------------------------------------------------------------*-C-*---
 * File:    handc/heapi/heapi.h
 *
 *          Copyright (C)1997 Donovan Kolbly <d.kolbly@rscheme.org>
 *          as part of the RScheme project, licensed for free use.
 *          See <http://www.rscheme.org/> for the latest information.
 *
 * File version:     1.6
 * File mod date:    1997.11.29 23:10:44
 * System build:     v0.7.2, 97.12.21
 *
 *------------------------------------------------------------------------*/

#ifndef _H_HEAPI
#define _H_HEAPI

#include <rscheme/obj.h>
#include <stdio.h>

void save_image( FILE *f, obj entry, obj refs, obj opt );
obj load_image( FILE *f, obj link_table );

obj load_image_file( const char *path, obj link_table, obj opts, 
		     int *fmt_vers );
void save_image_file( const char *path, obj entry, obj refs, obj opt );

/* possible image file format versions */

#define FMTV_RSCHEME_0_5       (50)
#define FMTV_RSCHEME_0_6       (60)
#define FMTV_RSCHEME_0_6_BOOT  (61)

#endif /* _H_HEAPI */