-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
eval
and method_exists
no longer builtins
switch `arraylen` from builtin to intrinsic
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1084,6 +1084,7 @@ export | |
isgeneric, | ||
isinteractive, | ||
less, | ||
method_exists, | ||
methods, | ||
methodswith, | ||
module_name, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -931,3 +931,8 @@ DLLEXPORT jl_value_t *jl_select_value(jl_value_t *isfalse, jl_value_t *a, jl_val | |
JL_TYPECHK(isfalse, bool, isfalse); | ||
return (isfalse == jl_false ? b : a); | ||
} | ||
|
||
DLLEXPORT jl_value_t *jl_arraylen(jl_value_t *a) | ||
{ | ||
return jl_box_long(jl_array_len((jl_array_t*)a)); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
JeffBezanson
Author
Member
|
||
} |
probably would be best to have a typecheck here that a::Array