Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/runtime/include/c-globals-tbl.h
ViewVC logotype

View of /sml/trunk/src/runtime/include/c-globals-tbl.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (download) (as text) (annotate)
Sat Oct 4 23:33:09 1997 UTC (22 years, 7 months ago) by monnier
File size: 815 byte(s)
Initial revision
/* c-globals-tbl.h
 *
 * COPYRIGHT (c) 1992 by AT&T Bell Laboratories.
 */

#ifndef _C_GLOBALS_TBL_
#define _C_GLOBALS_TBL_

typedef struct export_table export_table_t;

/* info about an exported external reference */
typedef const char *export_item_t;

extern void RecordCSymbol (const char *name, ml_val_t addr);
extern const char *AddrToCSymbol (ml_val_t addr);

extern export_table_t *NewExportTbl ();
extern void FreeExportTbl (export_table_t *tbl);

extern ml_val_t ExportCSymbol (export_table_t *tbl, ml_val_t addr);
extern ml_val_t AddrOfCSymbol (export_table_t *tbl, ml_val_t xref);
extern void ExportedSymbols (export_table_t *tbl, int *numSymbs, export_item_t **symbs);

extern ml_val_t ImportCSymbol (const char *name);

extern Addr_t ExportTableSz (export_table_t *tbl);

#endif /* !_C_GLOBALS_TBL_ */

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0