POV-Ray : Newsgroups : povray.programming : mixing POV code with C++ : Re: POV source errors Server Time
29 Jul 2024 06:24:46 EDT (-0400)
  Re: POV source errors  
From: Thorsten Froehlich
Date: 13 Feb 1999 16:50:14
Message: <36c5f396.0@news.povray.org>
In article <36C### [at] geocitiescom> , "Jon A. Cruz" 
<jon### [at] geocitiescom> wrote:

> With wchar_t itself you get the same issue as with the float/double
> conversions  and int size. It's designated to contain Unicode characters, but
> may or may not be 16-bits. Some systems are reported to be using 32-bits for
> processor efficiency, so just imagine if I pass an array of 16-bit values to a
> C call expecting 32-bit values.
>
> So, that's why I start with wchar_t. If, however, no wide-char API calls are
> made, then USHORT should be no problem.

There are no C calls that expect it, wchar_t is a C++ keyword and there is
no standard C library that will expect or take it.


    Thorsten


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.