OSDN Git Service

gcc/ada/
authorsam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2007 15:14:45 +0000 (15:14 +0000)
committersam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2007 15:14:45 +0000 (15:14 +0000)
* i-cstrin.ads (chars_ptr): Make it a C convention type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130180 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 4f17de0..cefae39 100644 (file)
@@ -5,6 +5,8 @@
 
        * s-osinte-interix.ads: Removed.
 
 
        * 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
 2007-11-13  Samuel Tardieu  <sam@rfc1149.net>
 
        * a-tasatt.adb: Add a comment at the beginning of the package
index 5ea063a..5e3494e 100644 (file)
@@ -97,6 +97,7 @@ package Interfaces.C.Strings is
 
 private
    type chars_ptr is access all Character;
 
 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
 
    pragma No_Strict_Aliasing (chars_ptr);
    --  Since this type is used for external interfacing, with the pointer