>this strange behaviour is becouse of these few lines:
>
>#ifdef __cplusplus
>extern "C" {
>#endif
>
>#ifdef __cplusplus
>}
>#endif
Another way to workaround this problem is as follows
#if (!defined(__CINT__)) && defined(__cplusplus)
extern "C" {
#endif
#if (!defined(__CINT__)) && defined(__cplusplus)
}
#endif
Masaharu Goto