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/c-libs/smlnj-runtime/blast-in.c
ViewVC logotype

View of /sml/trunk/src/runtime/c-libs/smlnj-runtime/blast-in.c

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/c-libs/smlnj-runtime/blast-in.c
File size: 579 byte(s)
version 110.16
/* blast_in.c
 * COPYRIGHT (c) 1994 by AT&T Bell Laboratories.

#include "ml-base.h"
#include "ml-values.h"
#include "ml-objects.h"
#include "ml-c.h"
#include "heap-io.h"
#include "cfun-proto-list.h"

/* _ml_RunT_blast_in : string -> 'a
 * Build an ML object from a string.
ml_val_t _ml_RunT_blast_in (ml_state_t *msp, ml_val_t arg)
    bool_t	errFlg = FALSE;
    ml_val_t	obj;

    obj = BlastIn (msp, PTR_MLtoC(Byte_t, arg), OBJ_LEN(arg), &errFlg);

    if (errFlg)
	return RAISE_ERROR(msp, "blast_in");
	return obj;

} /* end of _ml_RunT_blast_in */

ViewVC Help
Powered by ViewVC 1.0.0