mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(Android) (Location) Function signatures for functions that return
double were wrong - should be D instead of J
This commit is contained in:
parent
0513b99cc2
commit
792b27288a
@ -165,6 +165,14 @@ LocationListener
|
||||
location_service_running = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Free up location services resources.
|
||||
*/
|
||||
public void onLocationFree()
|
||||
{
|
||||
/* TODO/FIXME */
|
||||
}
|
||||
|
||||
/**
|
||||
* Executed upon stopping the location client.
|
||||
* Does nothing if called when the client is not started.
|
||||
|
@ -64,11 +64,11 @@ static void *android_location_init(void)
|
||||
if (!androidlocation->onLocationStop)
|
||||
goto dealloc;
|
||||
|
||||
GET_METHOD_ID(env, androidlocation->onLocationGetLatitude, class, "onLocationGetLatitude", "()J");
|
||||
GET_METHOD_ID(env, androidlocation->onLocationGetLatitude, class, "onLocationGetLatitude", "()D");
|
||||
if (!androidlocation->onLocationGetLatitude)
|
||||
goto dealloc;
|
||||
|
||||
GET_METHOD_ID(env, androidlocation->onLocationGetLongitude, class, "onLocationGetLongitude", "()J");
|
||||
GET_METHOD_ID(env, androidlocation->onLocationGetLongitude, class, "onLocationGetLongitude", "()D");
|
||||
if (!androidlocation->onLocationGetLongitude)
|
||||
goto dealloc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user