bc6fc73a50
chore: bump version
2024-09-26 02:14:34 +02:00
0ddc593771
feat: better custom exception handling + related test
2024-09-26 02:08:29 +02:00
7e2c8d4138
chore: bump version
2024-09-24 23:45:14 +02:00
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
561279d1dd
chore: bump versions
2024-09-22 01:56:11 +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
0208c500ec
chore: bump versions
2024-09-21 18:49:22 +02:00
19ebaddd6d
feat: impl JniToolboxError, allow returning ptr
2024-09-21 18:48:30 +02:00
f37c1ed7ae
fix: bump version
2024-09-21 18:08:58 +02:00
d3da081886
fix: handle mut modifier in arguments
2024-09-21 18:08:19 +02:00
3bd3addc64
fix: use raw exception class path
2024-09-21 17:58:33 +02:00
3ccb610dd5
feat: throw exception, allow specifying custom ones
2024-09-21 17:52:30 +02:00