From: Adam Beneschan <adambeneschan@gmail.com>
Subject: Re: chars_ptr vs char_array_access
Date: Fri, 25 Jul 2014 16:59:53 -0700 (PDT)
Date: 2014-07-25T16:59:53-07:00 [thread overview]
Message-ID: <40d4db94-f0fd-417e-8aad-38a2dc2d287d@googlegroups.com> (raw)
In-Reply-To: <lqunlc$fqo$1@speranza.aioe.org>
On Friday, July 25, 2014 4:02:04 PM UTC-7, Victor Porton wrote:
> To communicate a "char *" string with a C library, should I use chars_ptr or
> char_array_access?
>
> Please answer, it is important for some open source projects.
The answer is in the RM (B.3.1(22)): 'chars_ptr is C-compatible and corresponds to the use of C's "char *"...'. It doesn't say char_array_access is C-compatible.
-- Adam
next prev parent reply other threads:[~2014-07-25 23:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-25 23:02 chars_ptr vs char_array_access Victor Porton
2014-07-25 23:59 ` Adam Beneschan [this message]
2014-07-26 0:04 ` Victor Porton
2014-07-26 0:07 ` Adam Beneschan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox