comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: What should be convention C?
Date: Thu, 24 Jul 2014 19:34:17 +0300
Date: 2014-07-24T19:34:17+03:00	[thread overview]
Message-ID: <lqrcib$77l$1@speranza.aioe.org> (raw)

Suppose we need to interface a procedure C_Procedure which receives a 
pointer to a record C_Record.

Is Convention=>C needed for both of the below? Or just to one (which?)

type C_Record is
   record
      A: unsigned;
      B: unsigned;
   end record
     with Convention=>C;

procedure C_Procedure(X: access C_Record)
  with Convention=>C;

-- 
Victor Porton - http://portonvictor.org

             reply	other threads:[~2014-07-24 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24 16:34 Victor Porton [this message]
2014-07-24 16:50 ` What should be convention C? Niklas Holsti
replies disabled

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