Closed michkowalczuk closed 9 months ago
Hi. Chet is intended to convert 3rd-party headers only. It does not convert system header files since that would lead to a lot of bloat. Many system headers have already been converted by Embarcadero for you. For example, you can find the tm
struct in the System.Win.Crtl unit for Windows, or in Posix.Time for all Posix platforms (which is currently all other platforms that Delphi supports).
It’s great to hear. Thank you.
W dniu śr., 27.09.2023 o 16:52 Erik van Bilsen @.***> napisał(a):
Hi. Chet is intended to convert 3rd-party headers only. It does not convert system header files since that would lead to a lot of bloat. Many system headers have already been converted by Embarcadero for you. For example, you can find the tm struct in the System.Win.Crtl unit for Windows, or in Posix.Time for all Posix platforms (which is currently all other platforms that Delphi supports).
— Reply to this email directly, view it on GitHub https://github.com/neslib/Chet/issues/29#issuecomment-1737564189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFUL2QXPX4T6CYL3DHNPA2LX4Q4ULANCNFSM6AAAAAA5I4G7BU . You are receiving this because you authored the thread.Message ID: @.***>
How to
#include <ctime>
to properly convertstruct tm
to Delphi?Here is the structure definition:
https://en.cppreference.com/w/c/chrono/tm