aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual/example4/function.cfg
blob: feee63507831997a2ae0587e812d7937e7b75e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Package testfunction
Style AllStatic
JavaClass TestFunction
JavaOutputDir   gensrc/java
NativeOutputDir gensrc/native

# The length of the returned ByteBuffer from custom_allocate is
# specified as the argument
ReturnValueCapacity custom_allocate {0}

# custom_free will only ever receive a direct Buffer
NioDirectOnly custom_free