Commit 1e992e16 by Samuel Tardieu Committed by Samuel Tardieu

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
parent c2f17e19
...@@ -5,6 +5,8 @@ ...@@ -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> 2007-11-13 Samuel Tardieu <sam@rfc1149.net>
* a-tasatt.adb: Add a comment at the beginning of the package * a-tasatt.adb: Add a comment at the beginning of the package
...@@ -97,6 +97,7 @@ package Interfaces.C.Strings is ...@@ -97,6 +97,7 @@ package Interfaces.C.Strings is
private private
type chars_ptr is access all Character; type chars_ptr is access all Character;
pragma Convention (C, chars_ptr);
pragma No_Strict_Aliasing (chars_ptr); pragma No_Strict_Aliasing (chars_ptr);
-- Since this type is used for external interfacing, with the pointer -- Since this type is used for external interfacing, with the pointer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment