From 335b9dbfe73b26039441545a10f54ef8aad01071 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Wed, 23 Sep 2015 20:05:56 -0700 Subject: [PATCH] Haxe 3.1.3 fix --- lime/audio/openal/ALC.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lime/audio/openal/ALC.hx b/lime/audio/openal/ALC.hx index d7852b1de..1ced22b66 100644 --- a/lime/audio/openal/ALC.hx +++ b/lime/audio/openal/ALC.hx @@ -48,7 +48,7 @@ class ALC { public static function createContext (device:ALDevice, attrlist:Array = null):ALContext { #if ((cpp || neko || nodejs) && lime_openal && !macro) - var handle = lime_alc_create_context (device, attrlist); + var handle:CFFIPointer = lime_alc_create_context (device, attrlist); if (handle != null) { @@ -74,7 +74,7 @@ class ALC { public static function getContextsDevice (context:ALContext):ALDevice { #if ((cpp || neko || nodejs) && lime_openal && !macro) - var handle = lime_alc_get_contexts_device (context); + var handle:CFFIPointer = lime_alc_get_contexts_device (context); if (handle != null) { @@ -91,7 +91,7 @@ class ALC { public static function getCurrentContext ():ALContext { #if ((cpp || neko || nodejs) && lime_openal && !macro) - var handle = lime_alc_get_current_context (); + var handle:CFFIPointer = lime_alc_get_current_context (); if (handle != null) { @@ -168,7 +168,7 @@ class ALC { public static function openDevice (deviceName:String = null):ALDevice { #if ((cpp || neko || nodejs) && lime_openal && !macro) - var handle = lime_alc_open_device (deviceName); + var handle:CFFIPointer = lime_alc_open_device (deviceName); if (handle != null) {