Converting C structs and unions to Pascal (or Object Pascal / Delphi) records
I've been recently adding support for QuickTime TimeCode tracks to the JEDI QuickTime library's "qt_QuickTimeComponents.pas" file and I thought I should share a quick reminder on how we convert C structs (records) and unions (sets) into Pascal (Delphi / Object Pascal in this case) records: Structs: struct TimeCodeCounter { long counter; }; typedef struct TimeCodeCounter TimeCodeCounter;
Διαβάστε περισσότερα »
Σχόλια:
Έχει απενεργοποιηθεί η προσθήκη σχολίων από ανώνυμα μέλη
About Μπιρμπίλης Γεώργιος
Microsoft MVP J# 2004-2010
Borland Spirit of Delphi 2001
http://zoomicon.com