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

SCM Repository

[smlnj] Diff of /sml/trunk/src/ml-nlffi-lib/zstring.sig
ViewVC logotype

Diff of /sml/trunk/src/ml-nlffi-lib/zstring.sig

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1015, Tue Jan 15 21:46:00 2002 UTC revision 1078, Tue Feb 19 21:26:48 2002 UTC
# Line 8  Line 8 
8   *)   *)
9  signature ZSTRING = sig  signature ZSTRING = sig
10    
11      type 'c zstring = (C.uchar, 'c) C.ptr      type 'c zstring = (C.uchar, 'c) C.obj C.ptr
12      type 'c zstring' = (C.uchar, 'c) C.ptr'      type 'c zstring' = (C.uchar, 'c) C.obj C.ptr'
13    
14      (* the C strlen function *)      (* the C strlen function *)
15      val length : 'c zstring -> int      val length : 'c zstring -> int
# Line 24  Line 24 
24      val cpML' : { from: string, to: C.rw zstring' } -> unit      val cpML' : { from: string, to: C.rw zstring' } -> unit
25    
26      (* Make C-duplicate of ML string (allocate memory and then copy). *)      (* Make C-duplicate of ML string (allocate memory and then copy). *)
27      val dupML : string -> C.rw zstring      val dupML : string -> 'c zstring
28      val dupML' : string -> C.rw zstring'      val dupML' : string -> 'c zstring'
29  end  end

Legend:
Removed from v.1015  
changed lines
  Added in v.1078

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