i-cstrin.ads (chars_ptr): Make it a C convention type.

gcc/ada/
	* i-cstrin.ads (chars_ptr): Make it a C convention type.

From-SVN: r130180
This commit is contained in:
Samuel Tardieu 2007-11-14 15:14:45 +00:00 committed by Samuel Tardieu
parent c2f17e192e
commit 1e992e163d
2 changed files with 3 additions and 0 deletions

View 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

View 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