You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libscript/src/array.mlc
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,17 @@ public foreign handler MCArrayEvalElementsOf(in Target as array, out Value as li
25
25
26
26
public foreign handler MCArrayEvalIsAmongTheKeysOfCaseless(in Needle as string, in IsNot as bool, in Target as array, out Result as bool) as undefined binds to "<builtin>"
27
27
28
-
public foreign handler MCArrayEvalIsAmongTheElementsOf(in Needle as any, in IsNot as bool, in Target as array, out Result as bool) as undefined binds to "<builtin>"
28
+
public foreign handler MCArrayEvalIsAmongTheElementsOf(in Needle as optional any, in IsNot as bool, in Target as array, out Result as bool) as undefined binds to "<builtin>"
29
29
30
30
public foreign handler MCArrayEvalNumberOfElementsIn(in Target as array, out Count as index) as undefined binds to "<builtin>"
31
31
32
32
// Case insensitive map access / storage
33
-
public foreign handler MCArrayFetchElementOfCaseless(in Target as array, in Key as string, out Value as any) as undefined binds to "<builtin>"
34
-
public foreign handler MCArrayStoreElementOfCaseless(in Value as any, inout Target as array, in Key as string) as undefined binds to "<builtin>"
33
+
public foreign handler MCArrayFetchElementOfCaseless(in Target as array, in Key as string, out Value as optional any) as undefined binds to "<builtin>"
34
+
public foreign handler MCArrayStoreElementOfCaseless(in Value as optional any, inout Target as array, in Key as string) as undefined binds to "<builtin>"
35
35
36
36
public foreign handler MCArrayEvalEmpty(out Value as array) as undefined binds to "<builtin>"
37
37
38
-
public foreign handler MCArrayRepeatForEachElement(inout Iterator as optional pointer, out Iterand as any, in Container as array) as bool binds to "<builtin>"
38
+
public foreign handler MCArrayRepeatForEachElement(inout Iterator as optional pointer, out Iterand as optional any, in Container as array) as bool binds to "<builtin>"
39
39
public foreign handler MCArrayRepeatForEachKey(inout Iterator as optional pointer, out Iterand as string, in Container as array) as bool binds to "<builtin>"
40
40
41
41
public foreign handler MCArrayDeleteElementOfCaseless(inout Target as array, in Key as string) as undefined binds to "<builtin>"
Copy file name to clipboardExpand all lines: libscript/src/list.mlc
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,15 @@ This library consists of the operations on lists included in the standard librar
20
20
21
21
module com.livecode.list
22
22
23
-
public foreign handler MCListEvalHeadOf(in Target as list, out Value as any) as undefined binds to "<builtin>"
24
-
public foreign handler MCListEvalTailOf(in Target as list, out Value as any) as undefined binds to "<builtin>"
23
+
public foreign handler MCListEvalHeadOf(in Target as list, out Value as optional any) as undefined binds to "<builtin>"
24
+
public foreign handler MCListEvalTailOf(in Target as list, out Value as optional any) as undefined binds to "<builtin>"
25
25
26
-
public foreign handler MCListExecPushSingleElementOnto(in Value as any, in IsFront as bool, inout Target as list) as undefined binds to "<builtin>"
27
-
public foreign handler MCListExecPopElementInto(in IsFront as bool, inout Source as list, out Target as any) as undefined binds to "<builtin>"
26
+
public foreign handler MCListExecPushSingleElementOnto(in Value as optional any, in IsFront as bool, inout Target as list) as undefined binds to "<builtin>"
27
+
public foreign handler MCListExecPopElementInto(in IsFront as bool, inout Source as list, out Target as optional any) as undefined binds to "<builtin>"
28
28
29
29
public foreign handler MCListEvalNumberOfElementsIn(in Target as list, out Count as index) as undefined binds to "<builtin>"
30
30
31
-
public foreign handler MCListEvalIsAmongTheElementsOf(in Needle as any, in Target as list, out Result as bool) as undefined binds to "<builtin>"
31
+
public foreign handler MCListEvalIsAmongTheElementsOf(in Needle as optional any, in Target as list, out Result as bool) as undefined binds to "<builtin>"
32
32
public foreign handler MCListEvalContainsElements(in Target as list, in Needle as list, out Result as bool) as undefined binds to "<builtin>"
33
33
34
34
public foreign handler MCListEvalBeginsWith(in Source as list, in Prefix as list, out Result as bool) as undefined binds to "<builtin>"
@@ -40,13 +40,13 @@ public foreign handler MCListEvalIsNotEqualTo(in Left as list, in Right as list,
40
40
public foreign handler MCListFetchElementOf(in Index as int, in Target as list, out Value as any) as undefined binds to "<builtin>"
41
41
public foreign handler MCListStoreElementOf(in Value as any, in Index as int, inout Target as list) as undefined binds to "<builtin>"
42
42
public foreign handler MCListFetchElementRangeOf(in Start as int, in Finish as int, in Target as list, out Value as list) as undefined binds to "<builtin>"
43
-
public foreign handler MCListStoreElementRangeOf(in Value as any, in Start as int, in Finish as int, inout Target as list) as undefined binds to "<builtin>"
43
+
public foreign handler MCListStoreElementRangeOf(in Value as optional any, in Start as int, in Finish as int, inout Target as list) as undefined binds to "<builtin>"
44
44
45
-
public foreign handler MCListFetchIndexOf(in Target as list, in Index as int, out Value as any) as undefined binds to "<builtin>"
46
-
public foreign handler MCListStoreIndexOf(in Value as any, inout Target as list, in Index as int) as undefined binds to "<builtin>"
45
+
public foreign handler MCListFetchIndexOf(in Target as list, in Index as int, out Value as optional any) as undefined binds to "<builtin>"
46
+
public foreign handler MCListStoreIndexOf(in Value as optional any, inout Target as list, in Index as int) as undefined binds to "<builtin>"
47
47
48
-
public foreign handler MCListStoreBeforeElementOf(in Value as any, in Index as int, inout Target as list) as undefined binds to "<builtin>"
49
-
public foreign handler MCListStoreAfterElementOf(in Value as any, in Index as int, inout Target as list) as undefined binds to "<builtin>"
48
+
public foreign handler MCListStoreBeforeElementOf(in Value as optional any, in Index as int, inout Target as list) as undefined binds to "<builtin>"
49
+
public foreign handler MCListStoreAfterElementOf(in Value as optional any, in Index as int, inout Target as list) as undefined binds to "<builtin>"
50
50
51
51
public foreign handler MCListSpliceIntoElementRangeOf(in Source as list, in Start as int, in Finish as int, inout Target as list) as undefined binds to "<builtin>"
52
52
public foreign handler MCListSpliceIntoElementOf(in Source as list, in Index as int, inout Target as list) as undefined binds to "<builtin>"
@@ -58,13 +58,13 @@ public foreign handler MCListSpliceAfter(in Source as list, inout Target as list
58
58
59
59
public foreign handler MCListEvalEmpty(out Value as list) as undefined binds to "<builtin>"
60
60
61
-
public foreign handler MCListRepeatForEachElement(inout Iterator as optional pointer, out Iterand as any, in Container as list) as bool binds to "<builtin>"
61
+
public foreign handler MCListRepeatForEachElement(inout Iterator as optional pointer, out Iterand as optional any, in Container as list) as bool binds to "<builtin>"
62
62
63
-
public foreign handler MCListFetchFirstElementOf(in Target as list, out Value as any) as undefined binds to "<builtin>"
64
-
public foreign handler MCListStoreFirstElementOf(in Value as any, inout Target as list) as undefined binds to "<builtin>"
63
+
public foreign handler MCListFetchFirstElementOf(in Target as list, out Value as optional any) as undefined binds to "<builtin>"
64
+
public foreign handler MCListStoreFirstElementOf(in Value as optional any, inout Target as list) as undefined binds to "<builtin>"
65
65
66
-
public foreign handler MCListFetchLastElementOf(in Target as list, out Value as any) as undefined binds to "<builtin>"
67
-
public foreign handler MCListStoreLastElementOf(in Value as any, inout Target as list) as undefined binds to "<builtin>"
66
+
public foreign handler MCListFetchLastElementOf(in Target as list, out Value as optional any) as undefined binds to "<builtin>"
67
+
public foreign handler MCListStoreLastElementOf(in Value as optional any, inout Target as list) as undefined binds to "<builtin>"
68
68
69
69
public foreign handler MCListExecDeleteElementOf(in Index as index, inout Target as list) as undefined binds to "<builtin>"
70
70
public foreign handler MCListExecDeleteElementRangeOf(in Start as index, in Finish as index, inout Target as list) as undefined binds to "<builtin>"
0 commit comments