jniname 0.1.0

Java method signature to C-style JNI function name converter
Documentation
  • Coverage
  • 75%
    3 out of 4 items documented1 out of 2 items with examples
  • Size
  • Source code size: 14.48 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.52 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 35s Average build duration of successful builds.
  • all releases: 35s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hextriclosan

C-style JNI Function Name Generator

Crate Docs MIT Licensed

Introduction

A library to generate C-style JNI function names from Java method descriptors according to specs.

Usage

use jniname::{c_name, Error};
let result = c_name("Test", "foo", "(I)I");
assert_eq!(result, Ok(("Java_Test_foo".to_string(), "Java_Test_foo__I".to_string())));

License

This project is licensed under the MIT License – see the LICENSE file for details.