RE: fptr / Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

> In following the peek4 example, should I name them call_cdecls() and
> call_cdeclu()?  Or just add call_cdecl_signed() to be really explicit?
> 

In your old version I just made a duplicate called call_cdecl_s() -- 
"signed" is too much typing, "cdecls" is too ugly...

-- Andy

> Matt Lewis
> 
> > From: Andy Serpa [mailto:ac at onehorseshy.com]
> 
> > Hi Matt,
> > 
> > You ought to add duplicate versions of (or add a parameter to) the 
> > call_xxx() functions that return signed values rather than 
> > unsigned.  I 
> > find most libraries I use return signed error codes from the 
> > functions 
> > and put the "real" return value in some pre-allocated 
> > location that you 
> > pass as a parameter....
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu