MCPcopy Create free account
hub / github.com/java-native-access/jna / autoAllocate

Method autoAllocate

src/com/sun/jna/Structure.java:312–314  ·  view source on GitHub ↗

Obtain auto-allocated memory for use with struct represenations. @param size desired size @return newly-allocated memory

(int size)

Source from the content-addressed store, hash-verified

310 * @return newly-allocated memory
311 */
312 protected Memory autoAllocate(int size) {
313 return new AutoAllocated(size);
314 }
315
316 /** Set the memory used by this structure. This method is used to
317 * indicate the given structure is nested within another or otherwise

Callers 2

allocateMemoryMethod · 0.95
toArrayMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected