quakeforge/tools/qfcc
Bill Currie 1ce026d168 [qfcc] Implement bounced return pointer calls
This is achieved by marking a void function with the void_return
attribute and then calling that function in an @return expression.
@return can be used only inside a void function and only with void
functions marked with the void_return attribute. As this is intended for
Objective-QC message forwarding, it is deliberately "difficult" to use
as returning a larger than expected value is unlikely to end well for
the calling function.

However, as a convenience, "@return nil" is allowed (in a void
function). It always returns an integer (which, of course,can be
interpreted as a pointer). This is safe because if the return value is
ignored, it will go into the progs return buffer, and if it is not
ignored, it is the smallest value that can be returned.
2022-02-05 19:30:08 +09:00
..
doc [qfcc] Make ruamoko the default and update the docs 2022-02-04 10:46:31 +09:00
include [qfcc] Implement bounced return pointer calls 2022-02-05 19:30:08 +09:00
source [qfcc] Implement bounced return pointer calls 2022-02-05 19:30:08 +09:00
test [qfcc] Ensure ops on globals occur before return 2022-02-03 16:33:42 +09:00
AUTHORS more mailing list corrections 2003-07-12 21:50:22 +00:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
TODO Throw away function parameter type alias info 2020-02-26 17:46:53 +09:00