|
From: | grischka |
Subject: | Re: [Tinycc-devel] tcc_relocate() and tcc_relocate_ex() |
Date: | Fri, 31 Aug 2012 11:43:39 +0200 |
User-agent: | Thunderbird 2.0.0.24 (Windows/20100228) |
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 bytesiff 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
[Prev in Thread] | Current Thread | [Next in Thread] |