comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: StdCall and pragma Import_Function
Date: Fri, 19 Aug 2011 20:58:34 +0200
Date: 2011-08-19T20:58:34+02:00	[thread overview]
Message-ID: <11f8n1nxhs0hg$.16p4wm0m6u4nt.dlg@40tude.net> (raw)
In-Reply-To: 3feb634f-ca38-4f08-a6da-5299233f295e@glegroupsg2000goo.googlegroups.com

On Fri, 19 Aug 2011 10:07:21 -0700 (PDT), Felix Krause wrote:

> What I'm wrapping is OpenCL, which does use StdCall (at least in AMD's Stream API distribution).

1. How exactly is this function declared in the header file? The convention
must be specified there, e.g. as __stdcall, because it is not the native
C/C++ convention.

2. How is this function is defined in the def file of the import library.
You can see there its fully qualified name.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2011-08-19 18:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19 16:24 StdCall and pragma Import_Function Felix Krause
2011-08-19 16:51 ` Dmitry A. Kazakov
2011-08-19 17:07   ` Felix Krause
2011-08-19 18:58     ` Dmitry A. Kazakov [this message]
2011-08-19 19:23       ` Felix Krause
2011-08-19 19:43         ` Dmitry A. Kazakov
2011-08-19 20:07           ` Felix Krause
2011-08-19 20:37             ` Dmitry A. Kazakov
2011-08-19 20:45             ` Jeffrey Carter
2011-08-21 18:25               ` Felix Krause
2011-08-20  8:04           ` Georg Bauhaus
2011-08-20  9:23             ` Dmitry A. Kazakov
2011-08-19 17:26   ` Adam Beneschan
2011-08-19 17:38     ` Felix Krause
2011-08-19 18:10 ` Jeffrey Carter
2011-08-19 18:37   ` Felix Krause
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox