Home What does this mean in pascal: const char **pzTail
Reply: 1

What does this mean in pascal: const char **pzTail

loki Published in 2018-02-10 22:05:38Z

I m a little lost with this declaration:

SQLITE_API int SQLITE_STDCALL sqlite3_prepare(
  const char **pzTail     /* OUT: Pointer to unused portion of zSql */

does it's mean :

out pzTail: PansiChar
out pzTail: PPansiChar
const pzTail: PAnsiChar
const pzTail: PPAnsiChar

NOTE: the doc of sqlite3_prepare say pzTail could be null

Remy Lebeau
Remy Lebeau Reply to 2018-02-11 02:25:47Z

const pzTail: PPAnsiChar would be the closest and most correct literal translation, especially since pzTail is allowed to be nil, according to the sqlite3_prepare documentation.

Semantically, if you never pass nil, then you should use var pzTail: PAnsiChar or out pzTail: PAnsiChar instead.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.299093 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO