Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80511 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8145 invoked from network); 15 Jan 2015 03:15:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2015 03:15:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@tekwire.net; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=francois@tekwire.net; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain tekwire.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@tekwire.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:64385] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/A7-00659-FB037B45 for ; Wed, 14 Jan 2015 22:15:13 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 5ACCE4B014A; Thu, 15 Jan 2015 04:12:52 +0100 (CET) Reply-To: To: "'Pierre Joye'" , "'Andi Gutmans'" Cc: "'Sara Golemon'" , "'PHP internals'" References: In-Reply-To: Date: Thu, 15 Jan 2015 04:15:00 +0100 Message-ID: <019b01d03071$72e03b80$58a0b280$@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHdpO6kBDBjSAQ05ND+I0bfKmNeFQJbG32dAilsyqWcgXCAUA== Content-Language: fr X-Antivirus: avast! (VPS 150114-1, 14/01/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] One API to rule them all? (Was: Extension Prepend Files) From: francois@tekwire.net (=?UTF-8?Q?Fran=C3=A7ois_Laupretre?=) Hi, Here's a function definition : #PHP proto: int newt_centered_window ( int $width , int $height [, = string $title=3Dnull ] ) return_type: int arguments: width: type: int height: type: int title: type: string nullok: true {% block body %} if (title_is_null) title=3DNULL; retval=3DnewtCenteredWindow((long)width, (long)height, title); {% endblock %} More at: https://github.com/flaupretre/php-ext-gen Any thought ? Fran=C3=A7ois