Fix compilation of JS ArrayBuffer when generating documentation
This commit is contained in:
@@ -9,7 +9,7 @@ package lime.utils;
|
||||
import haxe.io.Bytes;
|
||||
|
||||
@:forward
|
||||
abstract ArrayBuffer(Bytes) from Bytes to Bytes {
|
||||
abstract ArrayBuffer(Bytes) from Bytes to Bytes #if doc_gen from Dynamic to Dynamic #end {
|
||||
public inline function new( byteLength:Int ) {
|
||||
this = Bytes.alloc( byteLength );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user