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