MessageTrans problems
Carl Hetherington
cth at carlh.net
Mon Oct 29 21:33:39 GMT 2001
Hi,
I think there are a couple of problems with the MessageTrans veneers in
OSLib.
PRM 3-745
MessageTrans_Lookup returns a pointer to the token terminator in r1
messagetrans_lookup() doesn't return this.
PRM 3-755
Messagetrans_GSLookup returns a pointer to the result string in r2
messagetrans_gs_lookup() doesn't return this.
PRM 3-751
MessageTrans_EnumerateTokens preserves r2 as a string buffer pointer
unless there is a problem, in which case r2 is returned as zero.
messagetrans_enumerate_tokens uses an osbool* for this value; is this in
line with OSLib's general rules?
Thanks for all the work on OSLib :-)
Cheers
Carl
More information about the oslib-user
mailing list