Commit graph

13 commits

Author SHA1 Message Date
4d2debf789
fix: jni::errors::Error::NullPtr throws NullPtr 2024-09-24 05:02:49 +02:00
f67b1a7b3f
fix: passing &mut env doesnt break jni fn 2024-09-24 03:15:19 +02:00
d52677eed8
feat: option to force inline inner fn 2024-09-24 03:15:05 +02:00
a7c0b6881e
fix: don't unsafely clone env
was safe but better no unsafe at all
2024-09-24 03:14:45 +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
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
006d76eea9
feat: builtin conversions for &str as well 2024-09-22 16:16:42 +02:00
1d00db2648
fix: return type void in result 2024-09-22 01:37:28 +02:00
95eb528549
feat: automatic FromJava conversions 2024-09-22 00:09:46 +02:00
4daaad5faf
feat: allow skipping env/class in args
also removed a bit of clones but added more...
2024-09-21 23:03:02 +02:00
e855659e1a
chore: refactored macro more 2024-09-21 20:46:48 +02:00
8f272bd905
chore: refactored macro a bit 2024-09-21 20:14:51 +02:00