Skip navigation links
JNA API 4.2.1

Class StdCallFunctionMapper

  • All Implemented Interfaces:

    public class StdCallFunctionMapper
    extends Object
    implements FunctionMapper
    Provides mapping from simple method names to w32 stdcall-decorated names where the name suffix is "@" followed by the number of bytes popped by the called function.

    NOTE: if you use custom type mapping for primitive types, you may need to override getArgumentNativeStackSize(Class).

    • Constructor Detail

      • StdCallFunctionMapper

        public StdCallFunctionMapper()
    • Method Detail

      • getArgumentNativeStackSize

        protected int getArgumentNativeStackSize(Class cls)
        Override this to handle any custom class mappings.
        cls - Java class of a parameter
        number of native bytes used for this class on the stack
JNA API 4.2.1

Copyright © 2007-2015 Timothy Wall. All Rights Reserved.