Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 9236CA654C for ; Sun, 31 May 2015 13:09:57 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 4379714A23F; Sun, 31 May 2015 13:09:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2973C14A235 for ; Sun, 31 May 2015 13:09:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id d_VfntgypNPa for ; Sun, 31 May 2015 13:09:51 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 5313E14A0B0 for ; Sun, 31 May 2015 13:09:51 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 5103D98; Sun, 31 May 2015 13:09:51 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 31 May 2015 13:09:51 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-cffi To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20150531130951.5103D98@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: wiz Date: Sun May 31 13:09:51 UTC 2015 Modified Files: pkgsrc/devel/py-cffi: Makefile distinfo Log Message: Update to 1.1.0: 1.1.0 ===== * Out-of-line API mode: we can now declare integer types with ``typedef int... foo_t;``. The exact size and signness of ``foo_t`` is figured out by the compiler. * Out-of-line API mode: we can now declare multidimensional arrays (as fields or as globals) with ``int n[...][...]``. Before, only the outermost dimension would support the ``...`` syntax. * Out-of-line ABI mode: we now support any constant declaration, instead of only integers whose value is given in the cdef. Such "new" constants, i.e. either non-integers or without a value given in the cdef, must correspond to actual symbols in the lib. At runtime they are looked up the first time we access them. This is useful if the library defines ``extern const sometype somename;``. * ``ffi.addressof(lib, "func_name")`` now returns a regular cdata object of type "pointer to function". You can use it on any function from a library in API mode (in ABI mode, all functions are already regular cdata objects). To support this, you need to recompile your cffi modules. * Issue #198: in API mode, if you declare constants of a ``struct`` type, what you saw from lib.CONSTANT was corrupted. * Issue #196: ``ffi.set_source("package._ffi", None)`` would incorrectly generate the Python source to ``package._ffi.py`` instead of ``package/_ffi.py``. Also fixed: in some cases, if the C file was in ``build/foo.c``, the .o file would be put in ``build/build/foo.o``. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-cffi/Makefile \ pkgsrc/devel/py-cffi/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.