Created
November 5, 2013 15:30
-
-
Save raph-amiard/7320798 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package body Foo is | |
procedure T is | |
B : Float; | |
type Proc_Access is access procedure (A : Integer); | |
pragma Convention (C, Proc_Access); | |
procedure Pouet (A : Integer); | |
pragma Convention(C, Pouet); | |
procedure Pouet (A : Integer) is | |
begin | |
B := Float (A) + 12.0; | |
end; | |
PA : Proc_Access := Pouet'Access; | |
begin | |
null; | |
end T; | |
end Foo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment