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 /smlnj-c/releases/release-110.71/cc-info.defaults.sml
ViewVC logotype

Annotation of /smlnj-c/releases/release-110.71/cc-info.defaults.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download)
Original Path: sml/trunk/src/smlnj-c/cc-info.defaults.sml

1 : monnier 249 (* cc-info.defaults.sml
2 :     *
3 :     * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
4 :     *
5 :     * default sizes of basic C types
6 :     *)
7 :    
8 :     structure CCInfoDefaults : CC_INFO =
9 :     struct
10 :     (* all sizes in bytes *)
11 :    
12 :     val intSzB = 4
13 :     val shortSzB = 2
14 :     val longSzB = 4
15 :    
16 :     val charSzB = 1
17 :    
18 :     val floatSzB = 4
19 :     val doubleSzB = 8
20 :    
21 :     val ptrSzB = 4
22 :    
23 :     val unionAlign = 4
24 :     val structAlign = 4
25 :     end (* structure CCInfoDefaults *)

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