Package jnr.ffi.struct.PaddingTest.TestLib

Examples of jnr.ffi.struct.PaddingTest.TestLib.LongPadding


    }

    @Test public void longPadding() throws Throwable {
        Type longType = runtime.findType(NativeType.SLONG);
        final int SIZE = longType.alignment() + (longType.size() * 3);
        assertEquals("incorrect size", SIZE, Struct.size(new LongPadding()));
    }
View Full Code Here

TOP

Related Classes of jnr.ffi.struct.PaddingTest.TestLib.LongPadding

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.