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 250 - (download) (as text) (annotate)
Sat Apr 17 18:57:03 1999 UTC (21 years, 4 months ago) by monnier
File size: 579 byte(s)
This commit was generated by cvs2svn to compensate for changes in r249,
which included commits to RCS files with non-trunk default branches.
/* 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");
    else
	return obj;

} /* end of _ml_RunT_blast_in */


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