Ilya Zakharevich on Tue, 11 Mar 2003 11:17:51 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PATCH CVS] Strchr(77), Strchr([79,75]) |
On Tue, Mar 11, 2003 at 03:56:15PM +0100, Bill Allombert wrote: > > This patch allows one to invert Vecsmall("OK"). > > While we are at it, I think it is a good time to provides a Strord() > function that return a t_VEC of t_INT and remove the Vecsmall("OK") > behavior. > > > +{"Strchr",18,(void*)Str_char,2,"G"}, > > Why not give the same name to the GP function and PARI function ? > It is usually less confusing. Since GP function names cannot confuse the C or runtime linker. Given that most of the time GP/PARI is used on the platforms where the dynamic linker plays the Russian rulette when it resolves a name, it is better not to use common names for C externals... Hope this help, Ilya