i-cstrin.ads (chars_ptr): Make it a C convention type.
authorSamuel Tardieu <sam@rfc1149.net>
Wed, 14 Nov 2007 15:14:45 +0000 (15:14 +0000)
committerSamuel Tardieu <sam@gcc.gnu.org>
Wed, 14 Nov 2007 15:14:45 +0000 (15:14 +0000)
    gcc/ada/
* i-cstrin.ads (chars_ptr): Make it a C convention type.

From-SVN: r130180

gcc/ada/ChangeLog
gcc/ada/i-cstrin.ads

index 4f17de09053a808595bac4b933f22cf5e6b717c3..cefae39a68653c32051cc1dc0f9ccac8c0acf59f 100644 (file)
@@ -5,6 +5,8 @@
 
        * s-osinte-interix.ads: Removed.
 
+       * i-cstrin.ads (chars_ptr): Make it a C convention type.
+
 2007-11-13  Samuel Tardieu  <sam@rfc1149.net>
 
        * a-tasatt.adb: Add a comment at the beginning of the package
index 5ea063ab0ef220ff9bddb7731fdb4441c69235cc..5e3494ed1b625d50553e119fb913f8d0451b239b 100644 (file)
@@ -97,6 +97,7 @@ package Interfaces.C.Strings is
 
 private
    type chars_ptr is access all Character;
+   pragma Convention (C, chars_ptr);
 
    pragma No_Strict_Aliasing (chars_ptr);
    --  Since this type is used for external interfacing, with the pointer