Displaying 1 result from an estimated 1 matches for "attributes__".
Did you mean:
attribute__
2019 Oct 16
2
Most efficient way for a function to return two types?
I apologize if this is the wrong list. I'm writing a language and
outputting llvm-ir instead of using the c api. I looked at clang's output a
few times but I'm a little unsure what to do in this case
As an example I have a function called itoa which takes an int and returns
a string. Strings in my language has 2 fields, the pointer and byte length.
On a 64bit machine it'd be