[fpc-pascal] C to Pascal conversion - Help request
Sandro Cumerlato
sandro.cumerlato at gmail.com
Mon Jul 17 15:21:26 CEST 2017
Thank you Dmitry for your clarification.
Best regards.
Sandro Cumerlato
On 17 July 2017 at 14:26, Dmitry Boyarintsev <skalogryz.lists at gmail.com>
wrote:
>
>
> On Mon, Jul 17, 2017 at 7:17 AM, Sandro Cumerlato <
> sandro.cumerlato at gmail.com> wrote:
>
>> Hello,
>> 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.
>>
>>
> type
> SF_CUES = record
> cue_count : cuint32 ; // declared in "ctypes"
> cue_points : array [0..100-1] of SF_CUE_POINT;
> end;
>
>
> 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
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170717/0fbfcbde/attachment.html>
More information about the fpc-pascal
mailing list