Fix PP_vOdiii__v required but PP_vOiiii__v found in hdll error (references #1521)
Includes tweaks to commit 45955412eb to allow the code to continue working in HashLink
Co-authored-by: ShaharMS <88977041+ShaharMS@users.noreply.github.com>
This commit is contained in:
@@ -739,12 +739,12 @@ class NativeApplication
|
||||
|
||||
@:keep /*private*/ class KeyEventInfo
|
||||
{
|
||||
public var keyCode:Float;
|
||||
public var keyCode: #if neko Float #else Int #end;
|
||||
public var modifier:Int;
|
||||
public var type:KeyEventType;
|
||||
public var windowID:Int;
|
||||
|
||||
public function new(type:KeyEventType = null, windowID:Int = 0, keyCode:Float = 0, modifier:Int = 0)
|
||||
public function new(type:KeyEventType = null, windowID:Int = 0, keyCode:#if neko Float #else Int #end = 0, modifier:Int = 0)
|
||||
{
|
||||
this.type = type;
|
||||
this.windowID = windowID;
|
||||
|
||||
Reference in New Issue
Block a user