File tree 2 files changed +43
-1
lines changed
2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,25 @@ export
122
122
MergeSort,
123
123
TimSort,
124
124
125
+ # Ccall types
126
+ Cchar,
127
+ Cuchar,
128
+ Cshort,
129
+ Cushort,
130
+ Cint,
131
+ Cuint,
132
+ Clong,
133
+ Culong,
134
+ Cptrdiff_t,
135
+ Csize_t,
136
+ Clonglong,
137
+ Culonglong,
138
+ Cfloat,
139
+ Cdouble,
140
+ Ccomplex_float,
141
+ Ccomplex_double,
142
+ Cstring,
143
+
125
144
# Exceptions
126
145
ArgumentError,
127
146
DisconnectException,
Original file line number Diff line number Diff line change 42
42
# # Load essential files and libraries
43
43
44
44
include (" base.jl" )
45
+ include (" build_h.jl" )
45
46
46
47
# core operations & types
47
48
include (" range.jl" )
@@ -63,6 +64,29 @@ include("reduce.jl")
63
64
include (" complex.jl" )
64
65
include (" rational.jl" )
65
66
67
+ typealias Cchar Int8
68
+ typealias Cuchar Int8
69
+ typealias Cshort Int16
70
+ typealias Cushort Uint16
71
+ typealias Cint Int32
72
+ typealias Cuint Uint32
73
+ if OS_NAME == :Windows
74
+ typealias Clong Int32
75
+ typealias Culong Uint32
76
+ else
77
+ typealias Clong Int
78
+ typealias Culong Int
79
+ end
80
+ typealias Cptrdiff_t Int
81
+ typealias Csize_t Uint
82
+ typealias Clonglong Int64
83
+ typealias Culonglong Uint64
84
+ typealias Cfloat Float32
85
+ typealias Cdouble Float64
86
+ # typealias Ccomplex_float Complex64
87
+ # typealias Ccomplex_double Complex128
88
+ typealias Cstring Ptr{Uint8}
89
+
66
90
# core data structures (used by type inference)
67
91
include (" abstractarray.jl" )
68
92
include (" subarray.jl" )
@@ -103,7 +127,6 @@ include("serialize.jl")
103
127
include (" multi.jl" )
104
128
105
129
# system & environment
106
- include (" build_h.jl" )
107
130
include (" osutils.jl" )
108
131
include (" libc.jl" )
109
132
include (" env.jl" )
You can’t perform that action at this time.
0 commit comments