Thank you Dmitry for your clarification. Best regards.
Sandro Cumerlato On 17 July 2017 at 14:26, Dmitry Boyarintsev <skalogryz.li...@gmail.com> wrote: > > > On Mon, Jul 17, 2017 at 7:17 AM, Sandro Cumerlato < > sandro.cumerl...@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@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal