search for: constant_properties

Displaying 3 results from an estimated 3 matches for "constant_properties".

2007 Aug 17
0
4 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h test/trace
...hidden; + return hidden.sort (); } // loses flags from the properties that are not permanent @@ -44,7 +44,7 @@ function permanent_properties (obj) ASSetPropFlags (obj, hidden, 1, 0); ASSetPropFlags (obj, constant, 3, 0); - return permanent; + return permanent.sort (); } function constant_properties (obj) @@ -67,7 +67,7 @@ function constant_properties (obj) ASSetPropFlags (obj, hidden, 1, 0); - return constant; + return constant.sort (); } var obj = new Object (); diff-tree bd0bd75bc96be5c3be3a5cb3aa4c3bb26ac0a3c2 (from a37dad992ab5fe037d4ef153d6a80ee0327262d9) Author: Pekka Lampi...
2007 Aug 20
0
3 commits - libswfdec/swfdec_as_context.c test/trace
...- break; - } - if (i == normal.length) - hidden.push (prop); - } - ASSetPropFlags (obj, hidden, 1, 0); - - return hidden.sort (); -} - -// loses flags from the properties that are not permanent -function permanent_properties (obj) -{ - hidden = hidden_properties (obj); - constant = constant_properties (obj); - - ASSetPropFlags (obj, hidden, 0, 1); - - permanent = new Array(); - for (var prop in obj) { - var old = obj[prop]; - delete obj[prop]; - if (obj.hasOwnProperty (prop)) { - permanent.push (prop); - } else { - obj[prop] = old; - } - } - - ASSetPropFlags (obj, h...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...- break; - } - if (i == normal.length) - hidden.push (prop); - } - ASSetPropFlags (obj, hidden, 1, 0); - - return hidden.sort (); -} - -// loses flags from the properties that are not permanent -function permanent_properties (obj) -{ - hidden = hidden_properties (obj); - constant = constant_properties (obj); - - ASSetPropFlags (obj, hidden, 0, 1); - - permanent = new Array(); - for (var prop in obj) { - var old = obj[prop]; - delete obj[prop]; - if (obj.hasOwnProperty (prop)) { - permanent.push (prop); - } else { - obj[prop] = old; - } - } - - ASSetPropFlags (obj, h...