Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/b/l/blue-HEAD/jython/release/pythonLib/standard/ctypes/__init__.py   blue(Download)
 
        self.offset = self.align(self.offset, alignment(f[1]))
        self.fields.append(jffi.StructLayout.ScalarField(f[0], f[1], self.offset))
        if not self.union:
            self.offset += sizeof(f[1])

src/f/i/Field-HEAD/Contents/lib/python/ctypes/__init__.py   Field(Download)
 
        self.offset = self.align(self.offset, alignment(f[1]))
        self.fields.append(jffi.StructLayout.ScalarField(f[0], f[1], self.offset))
        if not self.union:
            self.offset += sizeof(f[1])