[libbluray-devel] Register native java methods from C code
hpi1
git at videolan.org
Thu Dec 20 14:21:53 CET 2012
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Dec 20 15:14:39 2012 +0200| [da5f2840f6a54aee145af95457ff65f1388ad949] | committer: hpi1
Register native java methods from C code
-> no need to load / locate libbluray.so in java code
-> easy to use bootclasspath for awt classes
also hides unwanted symbols from .so
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=da5f2840f6a54aee145af95457ff65f1388ad949
---
src/Makefile.am | 4 +-
src/libbluray/bdj/bdj.c | 5 +
src/libbluray/bdj/bdj_util.c | 32 ++++
src/libbluray/bdj/bdj_util.h | 4 +
src/libbluray/bdj/java/org/videolan/Libbluray.java | 1 -
src/libbluray/bdj/native/org_videolan_Libbluray.c | 170 ++++++++++++++++++++
src/libbluray/bdj/native/org_videolan_Libbluray.h | 26 +++
src/libbluray/bdj/native/register_native.c | 34 ++++
src/libbluray/bdj/native/register_native.h | 29 ++++
9 files changed, 303 insertions(+), 2 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commitdiff;h=da5f2840f6a54aee145af95457ff65f1388ad949
More information about the libbluray-devel
mailing list