From owner-cvs-all@FreeBSD.ORG Mon Apr 14 00:47:00 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D68961065676; Mon, 14 Apr 2008 00:47:00 +0000 (UTC) (envelope-from clsung@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C6BBE8FC14; Mon, 14 Apr 2008 00:47:00 +0000 (UTC) (envelope-from clsung@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3E0l0pg015961; Mon, 14 Apr 2008 00:47:00 GMT (envelope-from clsung@repoman.freebsd.org) Received: (from clsung@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3E0l0kC015960; Mon, 14 Apr 2008 00:47:00 GMT (envelope-from clsung) Message-Id: <200804140047.m3E0l0kC015960@repoman.freebsd.org> From: Cheng-Lung Sung Date: Mon, 14 Apr 2008 00:47:00 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/dyncall Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 00:47:00 -0000 clsung 2008-04-14 00:47:00 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/dyncall Makefile distinfo pkg-descr pkg-plist Log: The dyncall library encapsulates architecture-, OS- and compiler-specific function call semantics in a virtual "bind parameters from left to right and then call" interface allowing programmers to call C functions in a completely dynamic manner. In other workds, instead of calling a function directly, the dyncall library provides a mechanism to push the function parameters manually and to issue the call afterwards. This means, that a program can determine at runtime what function to call, and what parameters to pass to it. The library is written in C and assembly and provides a very simple C interface to program against. The library comes in very handy to power flexible message systems, dynamic function call dispatch mechanisms, closure implementations or even to bridge different programming languages. When it comes to language bindings, the dyncall library provides a clean and portable C interface to dynamically issue calls to foreign code using small kernels written in assembly. Instead of providing code for every bridged function call, which unnecessarily results in code bloat, only a couple of instructions are used to invoke every possible call. WWW: http://www.dyncall.org PR: ports/122720 Submitted by: Tassilo Philipp Revision Changes Path 1.3036 +1 -0 ports/devel/Makefile 1.1 +35 -0 ports/devel/dyncall/Makefile (new) 1.1 +3 -0 ports/devel/dyncall/distinfo (new) 1.1 +20 -0 ports/devel/dyncall/pkg-descr (new) 1.1 +10 -0 ports/devel/dyncall/pkg-plist (new)