Displaying 9 results from an estimated 9 matches for "jint".
Did you mean:
int
2008 May 29
0
Again, teach me speex AEC please!
...already made AEC to work?!
But beware, this will be used in my Voip program, so it should be async by nature.
/**
* com_peterhi_Speex.h
*/
#include <jni.h>
#ifndef _Included_com_peterhi_Speex
#define _Included_com_peterhi_Speex
#ifdef __cplusplus
extern "C" {
#endif
JNIEXPORT jint JNICALL Java_com_peterhi_Speex_encoder__(JNIEnv *, jclass);
JNIEXPORT jint JNICALL Java_com_peterhi_Speex_decoder__(JNIEnv *, jclass);
JNIEXPORT void JNICALL Java_com_peterhi_Speex_encoder__I(JNIEnv *, jclass, jint);
JNIEXPORT void JNICALL Java_com_peterhi_Speex_decoder__I(JNIEnv *, jclass, jint);...
2017 Oct 27
1
javareconf issue
...' is deprecated
[-Wdeprecated-declarations]*
* JNI_CreateJavaVM(0, 0, 0);*
* ^*
*/System/Library/Frameworks/JavaVM.framework/Headers/jni.h:1936:39: note:
'JNI_CreateJavaVM' has*
* been explicitly marked deprecated here*
*_JNI_IMPORT_OR_EXPORT_ __attribute__((deprecated)) jint JNICALL*
* ^*
*1 warning generated.*
*clang -dynamiclib -Wl,-headerpad_max_install_names -undefined
dynamic_lookup -single_module -multiply_defined suppress
-L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o
conftest.so conftest.o -framework...
2016 Sep 12
2
problem with bindings configure script
James,
That worked, thanks, but with a caveat. I don't know if this is a
limitation of autoconf/configure, but jni.h wants to include jni_md.h,
which is located in JNI_INCLUDE_DIR/win32, which is not automatically
searched. I was able to work around this by moving jni_md.h from the win32
sub directory to the same directory as jni.h. No idea who's bug this is, if
it is legitimately a bug,
2016 Sep 12
0
problem with bindings configure script
...jni_md.h file contains platform-specific stuff, and the name of the
directory it is in varies by platform (though oddly not by architecture
- e.g. it seems to be "linux" for all Linux architectures, whether they
are 32- or 64-bit, despite part of its purpose being to provide typedefs
for jint, jlong, etc).
So we just need to include cygwin in the mapping to "win32" here.
Committed to git master in 633b04159966c376e3ac60c05081a58716959685 -
I will backport that to 1.4.x and 1.2.x.
Copying jni_md.h should be fine as a workaround for now.
However, this doesn't seem to expl...
2016 Sep 14
1
problem with bindings configure script
...ins platform-specific stuff, and the name of the
> directory it is in varies by platform (though oddly not by architecture
> - e.g. it seems to be "linux" for all Linux architectures, whether they
> are 32- or 64-bit, despite part of its purpose being to provide typedefs
> for jint, jlong, etc).
>
> So we just need to include cygwin in the mapping to "win32" here.
> Committed to git master in 633b04159966c376e3ac60c05081a58716959685 -
> I will backport that to 1.4.x and 1.2.x.
>
> Copying jni_md.h should be fine as a workaround for now.
>
> H...
2016 Feb 05
7
[PATCH 0/7] lib: Stop exporting the safe_malloc, etc. functions.
The safe_malloc (etc) functions call g->abort_fn on failure. That's
not appropriate for language bindings, and we never intended that
these internal functions be used from language bindings, that was just
a historical accident.
This patch series removes any external use of the safe_* functions.
Rich.
2012 Jan 09
1
[PATCH 1/2] generator: Rename java_structs to camel_structs to better reflect their purpose
This map was originally included just for the java bindings, but is generally
useful to any binding which uses camel case by requirement or convention.
---
generator/generator_haskell.ml | 4 ++--
generator/generator_java.ml | 10 +++++-----
generator/generator_main.ml | 2 +-
generator/generator_structs.ml | 12 +++++-------
generator/generator_structs.mli | 8 ++++----
5
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880
https://bugzilla.redhat.com/show_bug.cgi?id=847881
This patch series adds various optional arguments to the tar-in and
tar-out commands.
Firstly (1/7) an optional "compress" flag is added to select
compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out
deprecated, and expands the range of compression types available.
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
..., jlong jg";
List.iter (
- function
- | String n
- | OptString n
- | FileIn n
- | FileOut n ->
- pr ", jstring j%s" n
- | StringList n ->
- pr ", jobjectArray j%s" n
- | Bool n ->
- pr ", jboolean j%s" n
- | Int n ->
- pr ", jint j%s" n
+ function
+ | String n
+ | OptString n
+ | FileIn n
+ | FileOut n ->
+ pr ", jstring j%s" n
+ | StringList n ->
+ pr ", jobjectArray j%s" n
+ | Bool n ->
+ pr ", jboolean...