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

SCM Repository

[sml3d] View of /trunk/sml3d/src/raw-data/raw-data.mlb
ViewVC logotype

View of /trunk/sml3d/src/raw-data/raw-data.mlb

Parent Directory Parent Directory | Revision Log Revision Log


Revision 733 - (download) (annotate)
Sat Jan 23 20:51:00 2010 UTC (9 years, 9 months ago) by jhr
File size: 950 byte(s)
  Moving to new C_POINTER interface and added CObject module
(* raw-data.mlb
 *
 * COPYRIGHT (c) 2010 John Reppy (http://www.cs.uchicago.edu/~jhr)
 * All rights reserved.
 *)

local

  $(SML_LIB)/basis/basis.mlb
  $(SML_LIB)/basis/mlton.mlb
  $(SML_LIB)/basis/unsafe.mlb
  $(SML_LIB)/basis/c-types.mlb
  c-types.mlb

(* common interfaces to C code *)
  ann "sequenceNonUnit error" "allowFFI true" in
    c-alloc.sml
    c-string.sml
    c-object.sml
  end

  ann "sequenceNonUnit error" in
  (* data buffers *)
    data-buffer-sig.sml
    data-buffer.sml
    image-sig.sml
    image.sml
    image-util.sml
  end

in

  signature C_ALLOC
  signature C_OBJECT
  signature C_STRING
  signature DATA_BUFFER
  signature IMAGE

  structure CAlloc
  structure CObject
  structure CString
  structure DataBuffer
  structure Image
  structure ImageUtil

(* re-export from c-types.mlb *)
  structure CPtr
  structure CSize
  structure CPtrDiff
  structure CInt
  structure CUInt
  structure CLong
  structure CULong

end

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