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

SCM Repository

[smlnj] Annotation of /sml/trunk/src/runtime/c-libs/smlnj-runtime/dummy.c
ViewVC logotype

Annotation of /sml/trunk/src/runtime/c-libs/smlnj-runtime/dummy.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 569 - (view) (download) (as text)

1 : monnier 249 /* dummy.c
2 :     *
3 :     * COPYRIGHT (c) 1995 by AT&T Bell Laboratories.
4 :     *
5 :     * This is a dummy run-time routine for when we would like to call
6 :     * a null C function.
7 :     */
8 :    
9 :     #include "ml-base.h"
10 :     #include "ml-values.h"
11 :     #include "cfun-proto-list.h"
12 :    
13 :     /* _ml_RunT_dummy : string -> unit
14 :     *
15 :     * The string argument can be used as a unique marker.
16 :     */
17 :     ml_val_t _ml_RunT_dummy (ml_state_t *msp, ml_val_t arg)
18 :     {
19 : blume 569 /*
20 : monnier 249 char *s = STR_MLtoC(arg);
21 : blume 569 */
22 : monnier 249
23 :     return ML_unit;
24 :    
25 :     } /* end of _ml_RunT_dummy */
26 :    

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