File: function.cfg

package info (click to toggle)
gluegen2 2.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,320 kB
  • sloc: java: 55,357; ansic: 3,758; xml: 3,328; sh: 1,565; pascal: 591; asm: 162; makefile: 76
file content (15 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

# Include the function.h header in the generated glue code
CustomCCode #include "function.h"