Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Demangler interfacd


  • To: austern@xxxxxxx
  • Subject: Re: Demangler interfacd
  • From: Martin von Loewis <loewis@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 4 May 2000 20:21:59 +0200 (MET DST)

> namespace abi {
> 
>   char* __cxa_demangle(const char* mangled_name,
>                        char* buf,
>                        size_t* n,
>                        int* status);
> 
> }

Is that an extern "C" function? If so, I'd prefer it to be marked as
such (this actually applies to all functions in the draft). 

If not, it does not need the __cxa_ prefix; it then should not have it
if it is user-callable (which it should, since users want to call it
to pretty-print typeid(foo).name()).

Regards,
Martin