Convert C Header-File into PAWN-Include
#1

Ahoy mates
i want to get some functions to use complex numbers and math operations but didnt find any include for PAWN yet
So i wanted to write this includes in PAWN but wasnt successful yet

Only thing i was able to replace was

extern double cos(double);
extern double sin(double);

by

#define sin(%0) floatsin(%0)
#define cos(%0) floatcos(%0)

But for some reason structs doesnt work in PAWN

1st header

http://pastebin.com/4JuvGK6m

2nd header

http://www.nongnu.org/avr-libc/user-...8h_source.html
Reply


Messages In This Thread
Convert C Header-File into PAWN-Include - by faxxe - 12.01.2017, 17:47
Re: Convert C Header-File into PAWN-Include - by SoLetsGO - 12.01.2017, 19:53

Forum Jump:


Users browsing this thread: 1 Guest(s)