Sean Conner wrote:
In both cases, it returns the number of bytes required to relocate
the code.
No.
Let me amend my previous statement on this---you are correct. And it's
way worse than I expected. tcc_relocate_ex() returns the number of bytes
iff ptr is NULL; otherwise it returns 0 on success and -1 on an error.
Still no. It returns (error ? -1 : ptr == NULL ? size : 0);
--- grischka
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel