From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16536 invoked by alias); 22 Apr 2004 17:01:26 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 16472 invoked from network); 22 Apr 2004 17:01:23 -0000 Received: from unknown (HELO smtp.cegetel.net) (212.94.174.78) by sources.redhat.com with SMTP; 22 Apr 2004 17:01:23 -0000 Received: from nostromo (unknown [213.223.207.31]) by smtp.cegetel.net (Postfix) with ESMTP id 81E55577D4; Thu, 22 Apr 2004 19:01:22 +0200 (CEST) Received: from amavis by nostromo with scanned-ok (Exim 3.35 #1 (Debian)) id 1BGheE-0003Jo-00; Thu, 22 Apr 2004 19:06:02 +0200 Received: from nostromo ([127.0.0.1]) by localhost (nostromo [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12672-01; Thu, 22 Apr 2004 19:06:02 +0200 (CEST) Received: from [192.168.0.131] (helo=open-plug.com) by nostromo with esmtp (Exim 3.35 #1 (Debian)) id 1BGheD-0003Jg-00; Thu, 22 Apr 2004 19:06:01 +0200 Message-ID: <4087FAC0.5050502@open-plug.com> Date: Thu, 22 Apr 2004 17:01:00 -0000 From: Cezar Harabula User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org, gcc-help-info@gcc.gnu.org Subject: C calling conventions: how to pass a struct parameter? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at open-plug.com X-SW-Source: 2004-04/txt/msg00293.txt.bz2 I simply cannot find this information! I have a procedure that must receive a struct. How to pass a structure parameter from a caller to my procedure, if the processor is an x86? In C++: how to pass an object? Thank you. Cezar