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 249 - (download) (as text) (annotate)
Sat Apr 17 18:57:03 1999 UTC (21 years, 4 months ago) by monnier
Original Path: sml/branches/SMLNJ/src/runtime/include/c-globals-tbl.h
File size: 815 byte(s)
version 110.16
/* 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_ */

ViewVC Help
Powered by ViewVC 1.0.0