[fpc-pascal] C to Pascal conversion - Help request
sandro.cumerlato at gmail.com
Mon Jul 17 15:21:26 CEST 2017
Thank you Dmitry for your clarification.
On 17 July 2017 at 14:26, Dmitry Boyarintsev <skalogryz.lists at gmail.com>
> On Mon, Jul 17, 2017 at 7:17 AM, Sandro Cumerlato <
> sandro.cumerlato at gmail.com> wrote:
>> can someone please help me converting the folowing C types to Pascal?
> SF_CUE_POINT is simple, but I'm not sure how to convert SF_CUES_VAR(count)
>> ad SF_CUES.
> SF_CUES = record
> cue_count : cuint32 ; // declared in "ctypes"
> cue_points : array [0..100-1] of SF_CUE_POINT;
> going forward in C translation, any time you find SF_CUES_VAR (xxx) used,
> you'll have to declare a new type (with the proper "count" used) or reuse
> an existing type, if it already exists.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal