Third parameter of Java_xxx_SDLActivity_nativeInit

In SDLActivify.java, the calling prototype of nativeInit is
SDLActivity.nativeInit(), there is no parameter. In SDL_android_main.cpp,
there is three parameters of Java_org_libsdl_app_SDLActivity_nativeInit,
what is third parameter “jobject obj”?

Hi,

It looks like a bug to me.–
Paulo

On Tue, Feb 21, 2012 at 10:28 AM, li zhuo wrote:

In SDLActivify.java, the calling prototype of nativeInit is
SDLActivity.nativeInit(), there is no parameter. In SDL_android_main.cpp,
there is three parameters of Java_org_libsdl_app_SDLActivity_nativeInit,
what is third parameter “jobject obj”?****


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Web Site: http://www.freeors.com/en

The War of Kingdom is a open source, turn-based tactical strategy game. It
originates in Battle for Wesnoth, and makes different from Wesnoth, makes
player to get another kind of joy in the process of playing game.

On the other hand, it bases on SDL to implement cross-platform program.
Using SDL library include SDL, SDL_mixer, SDL_image, SDL_ttf and SDL_net. As
for OS, it has run on Windows, Mac OS X, iOS and Android.

If study how to write cross-platform program using SDL, it maybe benefit
you.