Fix HashLink support
This commit is contained in:
@@ -3890,7 +3890,7 @@ namespace lime {
|
||||
#define _TKEY_EVENT _OBJ (_I32 _I32 _I32 _I32)
|
||||
#define _TMOUSE_EVENT _OBJ (_I32 _F64 _F64 _I32 _I32 _F64 _F64)
|
||||
#define _TRECTANGLE _OBJ (_F64 _F64 _F64 _F64)
|
||||
#define _TRENDER_EVENT _OBJ (_ENUM _I32)
|
||||
#define _TRENDER_EVENT _OBJ (_I32)
|
||||
#define _TSENSOR_EVENT _OBJ (_I32 _F64 _F64 _F64 _I32)
|
||||
#define _TTEXT_EVENT _OBJ (_I32 _I32 _I32 _BYTES _I32 _I32)
|
||||
#define _TTOUCH_EVENT _OBJ (_I32 _F64 _F64 _I32 _F64 _I32 _F64 _F64)
|
||||
|
||||
@@ -984,21 +984,19 @@ class NativeApplication {
|
||||
@:keep /*private*/ class RenderEventInfo {
|
||||
|
||||
|
||||
public var context:RenderContext;
|
||||
public var type:RenderEventType;
|
||||
|
||||
|
||||
public function new (type:RenderEventType = null, context:RenderContext = null) {
|
||||
public function new (type:RenderEventType = null) {
|
||||
|
||||
this.type = type;
|
||||
this.context = context;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function clone ():RenderEventInfo {
|
||||
|
||||
return new RenderEventInfo (type, context);
|
||||
return new RenderEventInfo (type);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -275,7 +275,7 @@ package lime.utils;
|
||||
//Non-spec
|
||||
|
||||
#if !no_typedarray_inline #end
|
||||
function copyFromArray(array:Array<Float>, offset : Int = 0 ) {
|
||||
function copyFromArray(array:Array<#if hl Dynamic #else Float #end>, offset : Int = 0 ) {
|
||||
|
||||
//Ideally, native semantics could be used, like cpp.NativeArray.blit
|
||||
var i = 0, len = array.length;
|
||||
|
||||
Reference in New Issue
Block a user