File tree Expand file tree Collapse file tree 4 files changed +4
-10
lines changed Expand file tree Collapse file tree 4 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ type t =
49
49
{ prim_name : string ;
50
50
arg_types : External_arg_spec .t list ;
51
51
ffi : External_ffi_types .external_spec }
52
- | Pjs_object_create of External_ffi_types .obj_create
52
+ | Pjs_object_create of External_arg_spec .t list
53
53
(* Exceptions *)
54
54
| Praise
55
55
(* Boolean operations *)
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ type t =
48
48
{ prim_name : string ;
49
49
arg_types : External_arg_spec .t list ;
50
50
ffi : External_ffi_types .external_spec }
51
- | Pjs_object_create of External_ffi_types. obj_create
51
+ | Pjs_object_create of External_arg_spec. t list
52
52
53
53
| Praise
54
54
| Psequand | Psequor | Pnot
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ type arg_type = External_arg_spec.attr
44
44
type arg_label = External_arg_spec .label
45
45
46
46
47
- (* *TODO: maybe we can merge [arg_label] and [arg_type] *)
48
- type obj_create = External_arg_spec .t list
49
47
50
48
type external_spec =
51
49
| Js_var of {
@@ -128,7 +126,7 @@ type t =
128
126
[return] means return value is unit or not,
129
127
[true] means is [unit]
130
128
*)
131
- | Ffi_obj_create of obj_create
129
+ | Ffi_obj_create of External_arg_spec .t list
132
130
| Ffi_inline_const of Lam_constant .t
133
131
| Ffi_normal
134
132
(* When it's normal, it is handled as normal c functional ffi call *)
Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ type arg_type = External_arg_spec.attr
45
45
type arg_label = External_arg_spec .label
46
46
47
47
48
- type obj_create = External_arg_spec .t list
49
-
50
-
51
-
52
48
53
49
54
50
@@ -109,7 +105,7 @@ type t =
109
105
External_arg_spec .t list *
110
106
return_wrapper *
111
107
external_spec
112
- | Ffi_obj_create of obj_create
108
+ | Ffi_obj_create of External_arg_spec .t list
113
109
| Ffi_inline_const of Lam_constant .t
114
110
| Ffi_normal
115
111
(* When it's normal, it is handled as normal c functional ffi call *)
You can’t perform that action at this time.
0 commit comments