Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphBLAS: Limit scope of extern "C" block to function declarations. #813

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions GraphBLAS/Config/GraphBLAS.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
#ifndef GRAPHBLAS_H
#define GRAPHBLAS_H

#if defined ( __cplusplus )
extern "C"
{
#endif

//==============================================================================
//=== GraphBLAS macros, typedefs, enums, and global variables =================
//==============================================================================
Expand Down Expand Up @@ -2682,6 +2677,11 @@ GrB_Format ;
// GraphBLAS/CUDA, since they do not need access these definitions. User
// applications have access to these methods.

#if defined ( __cplusplus )
extern "C"
{
#endif

#ifndef GB_CUDA_FOLDER

//==============================================================================
Expand Down
10 changes: 5 additions & 5 deletions GraphBLAS/Include/GraphBLAS.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
#ifndef GRAPHBLAS_H
#define GRAPHBLAS_H

#if defined ( __cplusplus )
extern "C"
{
#endif

//==============================================================================
//=== GraphBLAS macros, typedefs, enums, and global variables =================
//==============================================================================
Expand Down Expand Up @@ -2682,6 +2677,11 @@ GrB_Format ;
// GraphBLAS/CUDA, since they do not need access these definitions. User
// applications have access to these methods.

#if defined ( __cplusplus )
extern "C"
{
#endif

#ifndef GB_CUDA_FOLDER

//==============================================================================
Expand Down
Loading