Package org.ptolemy.fmi
Interface FMILibrary.FMICallbackAllocateMemory
-
- All Superinterfaces:
com.sun.jna.Callback
- All Known Implementing Classes:
FMULibrary.FMUAllocateMemory
- Enclosing interface:
- FMILibrary
public static interface FMILibrary.FMICallbackAllocateMemory extends com.sun.jna.Callback
A callback for the fmiCallbackAllocateMemory() function. See the documentation for FMICallbackLogger above for details.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.sun.jna.Pointer
apply(NativeSizeT numberOfObjects, NativeSizeT size)
Invoke the fmiCallbackAllocateMemory() function.
-
-
-
Method Detail
-
apply
com.sun.jna.Pointer apply(NativeSizeT numberOfObjects, NativeSizeT size)
Invoke the fmiCallbackAllocateMemory() function. Each byte of the allocated memory should be set to 0.- Parameters:
numberOfObjects
- The number of objects to be allocated.size
- The size of each object to be allocated.- Returns:
- The allocated memory.
-
-