Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] Diff of /trunk/sml3d/src/raw-data/data-buffer-sig.sml
ViewVC logotype

Diff of /trunk/sml3d/src/raw-data/data-buffer-sig.sml

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

revision 778, Mon Mar 8 15:27:38 2010 UTC revision 779, Mon Mar 8 16:31:12 2010 UTC
# Line 215  Line 215 
215      val withPtr : ('a buffer * ({data : C_Pointer.t, szb :  C_Size.word, elemSzb : C_Size.word} -> 'b)) -> 'b      val withPtr : ('a buffer * ({data : C_Pointer.t, szb :  C_Size.word, elemSzb : C_Size.word} -> 'b)) -> 'b
216      val touch : 'a buffer -> unit      val touch : 'a buffer -> unit
217    
218      (* operations on C struct buffers *)
219        structure CStruct : sig
220    
221    (* apply an operation to a given element in a cstruct buffer *)    (* apply an operation to a given element in a cstruct buffer *)
222      val withCStruct : (cstruct buffer * (C_Pointer.t -> 'a)) -> int -> 'a          val withElemPtr : (cstruct buffer * (C_Pointer.t -> 'a)) -> int -> 'a
223    
224          (* apply an operation to every element of a cstruct buffer *)
225            val app : (C_Pointer.t -> unit) -> cstruct buffer -> unit
226            val appi : (int * C_Pointer.t -> unit) -> cstruct buffer -> unit
227          end
228    
229    end    end

Legend:
Removed from v.778  
changed lines
  Added in v.779

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