Closed acezen closed 1 year ago
The GRIN's header files are C interfaces, when building with C++ engine(like GraphScope), it need to declare with external C when include these header in GraphScope. We can make user omit this step by adding
external C
#ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } #endif
to these header files.
cc/ @andydiwenzhu what do you think? If you agree, I can push a request to revise this.
solved
The GRIN's header files are C interfaces, when building with C++ engine(like GraphScope), it need to declare with
external C
when include these header in GraphScope. We can make user omit this step by addingto these header files.