Package com.sun.jna.StructureTest.VariableSizeTest

Examples of com.sun.jna.StructureTest.VariableSizeTest.VariableSizedStructure


        String returnStringFromVariableSizedStructure(VariableSizedStructure s);
    }
    public void testVariableSizedStructureArgument() {
        VariableSizeTest lib = (VariableSizeTest)Native.loadLibrary("testlib", VariableSizeTest.class);
        String EXPECTED = getName();
        VariableSizedStructure s = new VariableSizedStructure(EXPECTED);
        assertEquals("Wrong string returned from variable sized struct",
                     EXPECTED, lib.returnStringFromVariableSizedStructure(s));
    }
View Full Code Here

TOP

Related Classes of com.sun.jna.StructureTest.VariableSizeTest.VariableSizedStructure

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.