[fpc-pascal] C to Pascal conversion - Help request

Sandro Cumerlato sandro.cumerlato at gmail.com
Mon Jul 17 13:17:13 CEST 2017


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.

Thank you in advance!

Sandro Cumerlato


typedef struct
{ int32_t indx ;
uint32_t position ;
int32_t fcc_chunk ;
int32_t chunk_start ;
int32_t block_start ;
uint32_t sample_offset ;
char name [256] ;
} SF_CUE_POINT ;

#define SF_CUES_VAR(count) \
struct \
{ uint32_t cue_count ; \
SF_CUE_POINT cue_points [count] ; \
}

typedef SF_CUES_VAR (100) SF_CUES ;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170717/bbb073dd/attachment.html>


More information about the fpc-pascal mailing list