[fpc-pascal] C to Pascal conversion - Help request
Dmitry Boyarintsev
skalogryz.lists at gmail.com
Mon Jul 17 14:26:28 CEST 2017
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170717/5305cdf2/attachment.html>
More information about the fpc-pascal
mailing list