mozglue/android/APKOpen.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mozglue/android/APKOpen.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#ifndef APKOpen_h
     1.9 +#define APKOpen_h
    1.10 +
    1.11 +#include <jni.h>
    1.12 +
    1.13 +#ifndef NS_EXPORT
    1.14 +#define NS_EXPORT __attribute__ ((visibility("default")))
    1.15 +#endif
    1.16 +
    1.17 +struct mapping_info {
    1.18 +  char * name;
    1.19 +  uintptr_t base;
    1.20 +  size_t len;
    1.21 +  size_t offset;
    1.22 +};
    1.23 +
    1.24 +const struct mapping_info * getLibraryMapping();
    1.25 +
    1.26 +static const int SUCCESS = 0;
    1.27 +static const int FAILURE = 1;
    1.28 +void JNI_Throw(JNIEnv* jenv, const char* classname, const char* msg);
    1.29 +
    1.30 +#endif /* APKOpen_h */

mercurial