aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Java-module.md
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2021-06-19 01:50:15 -0500
committerDylan Baker <dylan@pnwbakers.com>2021-08-22 07:57:29 -0700
commitbe92e3783751b8bf1481dc81635e86b70977698a (patch)
treee86b3752ebe1ee6c2e4b7dbef56269f0707b7d82 /docs/markdown/Java-module.md
parentcd9db63bfbabdc241cc12805ffd84309d90346ab (diff)
downloadmeson-be92e3783751b8bf1481dc81635e86b70977698a.zip
meson-be92e3783751b8bf1481dc81635e86b70977698a.tar.gz
meson-be92e3783751b8bf1481dc81635e86b70977698a.tar.bz2
Add Java module
The Java module will serve as a source for easing Java development within Meson. Currently it only supports generating native header files.
Diffstat (limited to 'docs/markdown/Java-module.md')
-rw-r--r--docs/markdown/Java-module.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/markdown/Java-module.md b/docs/markdown/Java-module.md
new file mode 100644
index 0000000..9857de7
--- /dev/null
+++ b/docs/markdown/Java-module.md
@@ -0,0 +1,15 @@
+# Java Module
+
+*Added 0.60.0*
+
+## Functions
+
+### `generate_native_header()`
+
+This function will generate a header file for use in Java native module
+development by reading the supplied Java file for `native` method declarations.
+
+Keyword arguments:
+
+- `package`: The [package](https://en.wikipedia.org/wiki/Java_package) of the
+file. If left empty, Meson will assume that there is no package.