mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 05:40:26 +08:00
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:
parent
c2f17e192e
commit
1e992e163d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user