Re: [PATCH] lib/base64.h: wrap declarations in extern "C" scope when included from C++

2012-08-03 Thread Carlo de Falco
On 2 Aug 2012, at 23:22, Simon Josefsson wrote: > Carlo de Falco writes: > >> Hi, >> >> In order to use base64.h in GNU/Octave we had to wrap the #include >> <"base64.h"> in extern "C" scope. We believe it would have been better >>

[PATCH] lib/base64.h: wrap declarations in extern "C" scope when included from C++

2012-07-30 Thread Carlo de Falco
Hi, In order to use base64.h in GNU/Octave we had to wrap the #include <"base64.h"> in extern "C" scope. We believe it would have been better if this had been done upstream. Would it be possible to apply the patch below to lib/base64.h ? Carlo - diff --git a/lib/base64.h b/lib/b