Skip to content

refactor: update include header guards for single precision complex package #7708

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

Merged
merged 1 commit into from
Jul 21, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `caxpy`.
*/
#ifndef CAXPY_H
#define CAXPY_H
#ifndef STDLIB_BLAS_BASE_CAXPY_H
#define STDLIB_BLAS_BASE_CAXPY_H

#include "stdlib/blas/base/shared.h"
#include "stdlib/complex/float32/ctor.h"
Expand All @@ -46,4 +46,4 @@ void API_SUFFIX(c_caxpy_ndarray)( const CBLAS_INT N, const stdlib_complex64_t al
}
#endif

#endif // !CAXPY_H
#endif // !STDLIB_BLAS_BASE_CAXPY_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_ccopy`.
*/
#ifndef CAXPY_CBLAS_H
#define CAXPY_CBLAS_H
#ifndef STDLIB_BLAS_BASE_CAXPY_CBLAS_H
#define STDLIB_BLAS_BASE_CAXPY_CBLAS_H

#include "stdlib/blas/base/shared.h"
#include "stdlib/complex/float32/ctor.h"
Expand All @@ -41,4 +41,4 @@ void API_SUFFIX(cblas_caxpy)( const CBLAS_INT N, const stdlib_complex64_t alpha,
}
#endif

#endif // !CAXPY_CBLAS_H
#endif // !STDLIB_BLAS_BASE_CAXPY_CBLAS_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `ccopy`.
*/
#ifndef CCOPY_H
#define CCOPY_H
#ifndef STDLIB_BLAS_BASE_CCOPY_H
#define STDLIB_BLAS_BASE_CCOPY_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -45,4 +45,4 @@ void API_SUFFIX(c_ccopy_ndarray)( const CBLAS_INT N, const void *X, const CBLAS_
}
#endif

#endif // !CCOPY_H
#endif // !STDLIB_BLAS_BASE_CCOPY_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_ccopy`.
*/
#ifndef CCOPY_CBLAS_H
#define CCOPY_CBLAS_H
#ifndef STDLIB_BLAS_BASE_CCOPY_CBLAS_H
#define STDLIB_BLAS_BASE_CCOPY_CBLAS_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -40,4 +40,4 @@ void API_SUFFIX(cblas_ccopy)( const CBLAS_INT N, const void *X, const CBLAS_INT
}
#endif

#endif // !CCOPY_CBLAS_H
#endif // !STDLIB_BLAS_BASE_CCOPY_CBLAS_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the Fortran interface to the BLAS Level 1 routine `ccopy`.
*/
#ifndef CCOPY_FORTRAN_H
#define CCOPY_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_CCOPY_FORTRAN_H
#define STDLIB_BLAS_BASE_CCOPY_FORTRAN_H

/*
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C/Fortran compiler (a Fortran compiler must be configured to not attach underscores).
Expand All @@ -38,4 +38,4 @@ void ccopy( const CBLAS_INT *, const void *, const CBLAS_INT *, void *, const CB
}
#endif

#endif // !CCOPY_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_CCOPY_FORTRAN_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `cscal`.
*/
#ifndef CSCAL_H
#define CSCAL_H
#ifndef STDLIB_BLAS_BASE_CSCAL_H
#define STDLIB_BLAS_BASE_CSCAL_H

#include "stdlib/blas/base/shared.h"
#include "stdlib/complex/float32/ctor.h"
Expand All @@ -46,4 +46,4 @@ void API_SUFFIX(c_cscal_ndarray)( const CBLAS_INT N, const stdlib_complex64_t al
}
#endif

#endif // !CSCAL_H
#endif // !STDLIB_BLAS_BASE_CSCAL_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_ccopy`.
*/
#ifndef CSCAL_CBLAS_H
#define CSCAL_CBLAS_H
#ifndef STDLIB_BLAS_BASE_CSCAL_CBLAS_H
#define STDLIB_BLAS_BASE_CSCAL_CBLAS_H

#include "stdlib/blas/base/shared.h"
#include "stdlib/complex/float32/ctor.h"
Expand All @@ -41,4 +41,4 @@ void API_SUFFIX(cblas_cscal)( const CBLAS_INT N, const stdlib_complex64_t alpha,
}
#endif

#endif // !CSCAL_CBLAS_H
#endif // !STDLIB_BLAS_BASE_CSCAL_CBLAS_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the Fortran interface to the BLAS Level 1 routine `cscal`.
*/
#ifndef CSCAL_FORTRAN_H
#define CSCAL_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_CSCAL_FORTRAN_H
#define STDLIB_BLAS_BASE_CSCAL_FORTRAN_H

#include "stdlib/complex/float32/ctor.h"

Expand All @@ -40,4 +40,4 @@ void cscal( const int *, const stdlib_complex64_t *, void *, const int * );
}
#endif

#endif // !CSCAL_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_CSCAL_FORTRAN_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `csrot`.
*/
#ifndef CSROT_H
#define CSROT_H
#ifndef STDLIB_BLAS_BASE_CSROT_H
#define STDLIB_BLAS_BASE_CSROT_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -45,4 +45,4 @@ void API_SUFFIX(c_csrot_ndarray)( const CBLAS_INT N, void *X, const CBLAS_INT st
}
#endif

#endif // !CSROT_H
#endif // !STDLIB_BLAS_BASE_CSROT_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_csrot`.
*/
#ifndef CSROT_CBLAS_H
#define CSROT_CBLAS_H
#ifndef STDLIB_BLAS_BASE_CSROT_CBLAS_H
#define STDLIB_BLAS_BASE_CSROT_CBLAS_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -40,4 +40,4 @@ void API_SUFFIX(cblas_csrot)( const CBLAS_INT N, void *X, const CBLAS_INT stride
}
#endif

#endif // !CSROT_CBLAS_H
#endif // !STDLIB_BLAS_BASE_CSROT_CBLAS_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the Fortran interface to the BLAS Level 1 routine `csrot`.
*/
#ifndef CSROT_FORTRAN_H
#define CSROT_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_CSROT_FORTRAN_H
#define STDLIB_BLAS_BASE_CSROT_FORTRAN_H

/*
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C/Fortran compiler (a Fortran compiler must be configured to not attach underscores).
Expand All @@ -38,4 +38,4 @@ void csrot( const CBLAS_INT *, void *, const CBLAS_INT *, void *, const CBLAS_IN
}
#endif

#endif // !CSROT_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_CSROT_FORTRAN_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `cswap`.
*/
#ifndef CSWAP_H
#define CSWAP_H
#ifndef STDLIB_BLAS_BASE_CSWAP_H
#define STDLIB_BLAS_BASE_CSWAP_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -45,4 +45,4 @@ void API_SUFFIX(c_cswap_ndarray)( const CBLAS_INT N, void *X, const CBLAS_INT st
}
#endif

#endif // !CSWAP_H
#endif // !STDLIB_BLAS_BASE_CSWAP_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_cswap`.
*/
#ifndef CSWAP_CBLAS_H
#define CSWAP_CBLAS_H
#ifndef STDLIB_BLAS_BASE_CSWAP_CBLAS_H
#define STDLIB_BLAS_BASE_CSWAP_CBLAS_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -40,4 +40,4 @@ void API_SUFFIX(cblas_cswap)( const CBLAS_INT N, void *X, const CBLAS_INT stride
}
#endif

#endif // !CSWAP_CBLAS_H
#endif // !STDLIB_BLAS_BASE_CSWAP_CBLAS_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the Fortran interface to the BLAS Level 1 routine `cswap`.
*/
#ifndef CSWAP_FORTRAN_H
#define CSWAP_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_CSWAP_FORTRAN_H
#define STDLIB_BLAS_BASE_CSWAP_FORTRAN_H

/*
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C/Fortran compiler (a Fortran compiler must be configured to not attach underscores).
Expand All @@ -38,4 +38,4 @@ void cswap( const CBLAS_INT *, void *, const CBLAS_INT *, void *, const CBLAS_IN
}
#endif

#endif // !CSWAP_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_CSWAP_FORTRAN_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `scasum`.
*/
#ifndef SCASUM_H
#define SCASUM_H
#ifndef STDLIB_BLAS_BASE_SCASUM_H
#define STDLIB_BLAS_BASE_SCASUM_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -45,4 +45,4 @@ float API_SUFFIX(c_scasum_ndarray)( const CBLAS_INT N, const void *X, const CBLA
}
#endif

#endif // !SCASUM_H
#endif // !STDLIB_BLAS_BASE_SCASUM_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_scasum`.
*/
#ifndef SCASUM_CBLAS_H
#define SCASUM_CBLAS_H
#ifndef STDLIB_BLAS_BASE_SCASUM_CBLAS_H
#define STDLIB_BLAS_BASE_SCASUM_CBLAS_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -40,4 +40,4 @@ float API_SUFFIX(cblas_scasum)( const CBLAS_INT N, const void *X, const CBLAS_IN
}
#endif

#endif // !SCASUM_CBLAS_H
#endif // !STDLIB_BLAS_BASE_SCASUM_CBLAS_H
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
/**
* Header file containing function declarations for the Fortran interface to the BLAS Level 1 routine `scasum`.
*/
#ifndef SCASUM_FORTRAN_H
#define SCASUM_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_SCASUM_FORTRAN_H
#define STDLIB_BLAS_BASE_SCASUM_FORTRAN_H

/*
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C/Fortran compiler (a Fortran compiler must be configured to not attach underscores).
Expand All @@ -38,4 +38,4 @@ void scasumsub( const CBLAS_INT *, const void *, const CBLAS_INT *, float * );
}
#endif

#endif // !SCASUM_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_SCASUM_FORTRAN_H