felixangell / kpd

an old compiler for Krug written in D - a prototype version
MIT License
44 stars 1 forks source link

mangle c_symbol defined functions properly #44

Closed felixangell closed 6 years ago

felixangell commented 6 years ago

not sure if i have to follow the c mangling standard whatever that is, but for example:

#{no_mangle, c_symbol, variadic}
func printf(fmt *u8) s32;

Would need to be generated code for as:

call _printf
felixangell commented 6 years ago

done