From: Antonio Vargas <antonio.vargas@clix.pt>
Subject: Non private & private Import
Date: Sat, 16 Dec 2000 13:48:42 +0000
Date: 2000-12-16T13:48:42+00:00 [thread overview]
Message-ID: <976978132.359056@tubarao.ip.pt> (raw)
Hi.
What are the advantages/disadvantages of
-- First version
package Imp_Xfuncs is
function Example (num : C.int) return C.int;
pragma Import (C, Example, "the_example"); -- Non private "Import"
end Imp_Xfuncs;
-- Second version
package Imp_Xfuncs is
function Example (num : C.int) return C.int;
private
pragma Import (C, Example, "the_example"); -- Private "Import"
end Imp_Xfuncs;
Thanks in advance
Antonio Vargas
next reply other threads:[~2000-12-16 13:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-16 13:48 Antonio Vargas [this message]
2000-12-16 17:11 ` Non private & private Import Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox