Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Does MLGetUTF8String() return a null-terminated string?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129844] Does MLGetUTF8String() return a null-terminated string?
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Mon, 18 Feb 2013 06:02:03 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Does the C MathLink function MLGetUTF8String() return a null-terminated 
string?  The documentation does not say that it does and it returns the 
length of the string as well.  But if it did, it would spare me some 
copying, as my target requires a null-terminated UTF-8 string.




  • Prev by Date: Re[2]: Low precision exponentiation
  • Next by Date: Re: Low precision exponentiation
  • Previous by thread: Re: Low precision exponentiation
  • Next by thread: Re: Does MLGetUTF8String() return a null-terminated string?