Commit graph

24 commits

Author SHA1 Message Date
85707fe06d
feat: into_java_object for primitive arrays 2024-09-24 23:42:29 +02:00
d0dbd2dd3f
feat: FromJava impl for primitive arrays 2024-09-24 21:13:15 +02:00
4d2debf789
fix: jni::errors::Error::NullPtr throws NullPtr 2024-09-24 05:02:49 +02:00
47bb45a387
test: nullptr class, nullable returns 2024-09-24 05:02:11 +02:00
358586c513
fix: inline more 2024-09-24 04:46:02 +02:00
a3918afaaf
test: passing env and JString 2024-09-24 03:26:37 +02:00
1389f71c97
feat: auto into java object for JNI types 2024-09-24 03:26:24 +02:00
3d3bc8b6d5
test: vecs, options, nulls, also build with gradle 2024-09-24 02:29:31 +02:00
a1f9e8dfc1
test: add simple tests on java side 2024-09-24 01:58:10 +02:00
5e69eca9d6
feat: simplify IntoJava family
basically it's all IntoJava, but there's another trait layer,
IntoJavaObject, which downstream library users should implement. Every
IntoJavaObject automatically implements IntoJava too
2024-09-23 17:59:31 +02:00
50be86d2a4
chore: split down main lib file with traits 2024-09-23 14:46:45 +02:00
6f424dadf7
docs: updated README, minimal rustdocs 2024-09-23 00:50:52 +02:00
d6c0aa2f9e
feat: working but questionable intermediate trait implementation 2024-09-23 00:23:42 +02:00
521fc36093
feat: intermediate trait between objects and primitives 2024-09-22 20:40:13 +02:00
a12c26328c
feat: tentative Vec<T> impl for objects 2024-09-22 18:53:39 +02:00
66e810015e
feat: added uuid feature 2024-09-22 16:41:11 +02:00
006d76eea9
feat: builtin conversions for &str as well 2024-09-22 16:16:42 +02:00
3a09386878
feat: auto from/into impls, blanket Option<> impl 2024-09-22 01:37:03 +02:00
95eb528549
feat: automatic FromJava conversions 2024-09-22 00:09:46 +02:00
f136071c10
feat: JniToolboxError trait also for JniError 2024-09-21 20:15:04 +02:00
19ebaddd6d
feat: impl JniToolboxError, allow returning ptr 2024-09-21 18:48:30 +02:00
c044fff422
chore: made a jni-toolbox wrapper crate 2024-09-21 17:52:20 +02:00
5e560d2f3d
feat: return compiler errors, throw java err
no more random panicing
2024-09-21 17:37:13 +02:00
62786827d2
feat: initial implementation
it panics way too much and its probably quite flaky, but it is usable if
you take care
2024-09-21 17:01:00 +02:00