|
@@ -24,7 +24,7 @@
|
|
|
*/
|
|
|
package haxe;
|
|
|
|
|
|
-class FastCell<T> #if flash9 implements haxe.rtti.Generic #end {
|
|
|
+class FastCell<T> #if (flash9 || cpp) implements haxe.rtti.Generic #end {
|
|
|
public var elt : T;
|
|
|
public var next : FastCell<T>;
|
|
|
public function new(elt,next) { this.elt = elt; this.next = next; }
|
|
@@ -33,7 +33,7 @@ class FastCell<T> #if flash9 implements haxe.rtti.Generic #end {
|
|
|
/**
|
|
|
A linked-list of elements. A different class is created for each container used in platforms where it matters
|
|
|
**/
|
|
|
-class FastList<T> #if flash9 implements haxe.rtti.Generic #end {
|
|
|
+class FastList<T> #if (flash9 || cpp) implements haxe.rtti.Generic #end {
|
|
|
|
|
|
public var head : FastCell<T>;
|
|
|
|