Skip to content

Instantly share code, notes, and snippets.

@raph-amiard
Created November 5, 2013 15:30
Show Gist options
  • Save raph-amiard/7320798 to your computer and use it in GitHub Desktop.
Save raph-amiard/7320798 to your computer and use it in GitHub Desktop.
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