The MASM Forum

General => The Campus => Topic started by: alloy on May 01, 2020, 09:59:00 AM

Title: Are there CSFML include files?
Post by: alloy on May 01, 2020, 09:59:00 AM
Have the C header files been successfully converted to MASM inc files?

https://www.sfml-dev.org/download/csfml/
Title: Re: Are there CSFML include files?
Post by: Greenhorn on May 01, 2020, 11:03:52 AM
Hi alloy,

try h2incX to translate the headers by yourself. Have a look at the UASM package, it contains h2incX.exe.
The C header files from CSFML seem to be simple after a rough view on it.

Greenhorn
Title: Re: Are there CSFML include files?
Post by: alloy on May 01, 2020, 11:16:05 AM
Thanks Greenhorn.
Title: Re: Are there CSFML include files?
Post by: Vortex on May 01, 2020, 07:18:15 PM
Pelle's H to INC Converter :

QuotePOH2INC reference

Pelles H to INC converter is used for converting C to assembler include files. Note that there is almost never a "perfect" conversion. POH2INC will process each file in isolation, and many files depend on typedefs and macros from other files. Also, many include files hide part of the C syntax in macros making the job for POH2INC much harder.
Title: Re: Are there CSFML include files?
Post by: alloy on May 01, 2020, 09:32:56 PM
Thanks Vortex