annotate java/jdc/README.txt @ 54:918dab7a6606

- added callback support (comes with some bigger refactoring) - allow CPython's Py{CObject,Capsule} to be used as 'p'ointers
author Tassilo Philipp
date Tue, 02 Feb 2021 20:42:02 +0100
parents 40a2c4198016
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
1 BUILD
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
2 =====
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
3
20
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
4 1) make sure dyncall is built and libraries/headers are in include paths or
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
5 CFLAGS points to them, etc.
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
6
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
7 2) Build with:
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
8
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
9 make
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
10
21
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
11
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
12 RUNNING EXAMPLES
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
13 ================
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
14
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
15 For example, having build jdc, build and run UnixMathExample from this folder:
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
16
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
17 javac -d . examples/UnixMathExample.java
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
18 java -Djava.library.path=. UnixMathExample
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
19