Переглянути джерело

fixed compilation without domkit-heaps

Nicolas Cannasse 4 місяців тому
батько
коміт
47e23b3a55
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      h2d/Object.hx

+ 2 - 2
h2d/Object.hx

@@ -97,8 +97,8 @@ class Object #if (domkit && !domkit_heaps) implements domkit.Model<h2d.Object> #
 
 	#if domkit
 	public var dom : domkit.Properties<h2d.Object>;
-	@:dox(hide) @:noCompletion inline function getChildren() return children;
-	@:dox(hide) @:noCompletion function getChildRefPosition( first : Bool ) return first ? 0 : children.length - 1;
+	@:dox(hide) @:noCompletion #if !domkit_heaps public #end inline function getChildren() return children;
+	@:dox(hide) @:noCompletion #if !domkit_heaps public #end function getChildRefPosition( first : Bool ) return first ? 0 : children.length - 1;
 	#end
 
 	var matA : Float;