alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
@SuppressWarnings("PMD")
public class {{ class_name }} implements AutoCloseable {
    private final MemorySegment handle;

    {{ class_name }}(MemorySegment handle) {
        this.handle = handle;
    }

    MemorySegment handle() {
        return this.handle;
    }