jwiegley / c2hsc

Utility for creating .hsc files from C API header files
BSD 3-Clause "New" or "Revised" License
26 stars 15 forks source link

typedef const is seen as const rather than typedef #38

Closed flip111 closed 5 months ago

flip111 commented 5 years ago

C

typedef const PCRE2_UCHAR8  *PCRE2_SPTR8;

hsc

#globalvar PCRE2_SPTR8 , Ptr CUChar

should be

#synonym_t PCRE2_SPTR8 , Ptr CUChar
flyfish30 commented 3 years ago

I had fix this issue, please reference the PR https://github.com/jwiegley/c2hsc/pull/42.

flip111 commented 5 months ago

Closing because fix got merged.