Displaying 4 results from an estimated 4 matches for "customfunc".
2007 Aug 17
0
2 commits - libswfdec/swfdec_as_array.c test/trace
..., ]
3.4
[1, b, c, , ]
@@ -91,9 +93,18 @@ a:b:c
6
[1, 2, 3, 4, 5, [a, b, c]]
1
+undefined
+[weirder]
+0
+undefined
+[]
+1
[6]
6
[, , , , , 6]
+-2
+x
+-2
## Pop
# Normal usage
4
@@ -103,6 +114,8 @@ c
# Special cases
undefined
[]
+undefined
+[]
4
[1, b, c]
c
@@ -548,4 +561,27 @@ sort customfunc 30 [[1, 2, 3], [1, 2, 3,
sort customfunc 31 [[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
[1, 0, 3, 4, 2]
[[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
+## Fake Array (Object with Array's methods)
+[type Function]
+5
+5: a:b:c:x:z
+z
+5: a:b:c:x:
+5
+5: y:a:b:c:x
+5
+5: z:y:a:b:c
+6: z:y:a:b:c:x
+...
2007 Aug 17
0
Branch 'vivi' - 9 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c
..., ]
3.4
[1, b, c, , ]
@@ -91,9 +93,18 @@ a:b:c
6
[1, 2, 3, 4, 5, [a, b, c]]
1
+undefined
+[weirder]
+0
+undefined
+[]
+1
[6]
6
[, , , , , 6]
+-2
+x
+-2
## Pop
# Normal usage
4
@@ -103,6 +114,8 @@ c
# Special cases
undefined
[]
+undefined
+[]
4
[1, b, c]
c
@@ -548,4 +561,27 @@ sort customfunc 30 [[1, 2, 3], [1, 2, 3,
sort customfunc 31 [[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
[1, 0, 3, 4, 2]
[[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
+## Fake Array (Object with Array's methods)
+[type Function]
+5
+5: a:b:c:x:z
+z
+5: a:b:c:x:
+5
+5: y:a:b:c:x
+5
+5: z:y:a:b:c
+6: z:y:a:b:c:x
+...
2007 Nov 14
0
9 commits - libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_interval.c test/image test/trace
...ned:
6
[1, 2, 3, 4, 5, [a, b, c]]
1
+undefined
+[weirder]
+0
+undefined
+[]
+1
[6]
6
[undefined, undefined, undefined, undefined, undefined, 6]
+-2
+x
+-2
## Pop
# Normal usage
4
@@ -103,6 +116,8 @@ c
# Special cases
undefined
[]
+undefined
+[]
4
[1, b, c]
c
@@ -548,4 +563,29 @@ sort customfunc 30 [[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
sort customfunc 31 [[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
[1, 0, 3, 4, 2]
[[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
+## Fake Array (Object with Array's methods)
+[type Function]
+5
+5: a:b:c:x:z
+z
+5: a:b:c:x:undefined
+5
+5: y:a:b:c:x
+5
+...
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
...iff --git a/test/trace/array2-6.swf.trace b/test/trace/array2-6.swf.trace
index fc370f7..6d27db8 100644
--- a/test/trace/array2-6.swf.trace
+++ b/test/trace/array2-6.swf.trace
@@ -221,6 +221,7 @@ b
[b, c]
[1, [object Object], 3, 4]
# Special cases
+undefined
[]
[]
[]
@@ -563,6 +564,12 @@ sort customfunc 30 [[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
sort customfunc 31 [[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
[1, 0, 3, 4, 2]
[[1, 2, 3], [1, 2, 3, 4], [], [1, 2], [1]]
+undefined
+[, , , , , , , a, b, c]
+[, a, b]
+[, a, b]
+0
+undefined
## Fake Array (Object with Array's methods)
[type Fun...