Skip to content

refactor: update include header guards for double precision complex package #7709

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 `zcopy`.
*/
#ifndef ZCOPY_H
#define ZCOPY_H
#ifndef STDLIB_BLAS_BASE_ZCOPY_H
#define STDLIB_BLAS_BASE_ZCOPY_H

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

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

#endif // !ZCOPY_H
#endif // !STDLIB_BLAS_BASE_ZCOPY_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_zcopy`.
*/
#ifndef ZCOPY_CBLAS_H
#define ZCOPY_CBLAS_H
#ifndef STDLIB_BLAS_BASE_ZCOPY_CBLAS_H
#define STDLIB_BLAS_BASE_ZCOPY_CBLAS_H

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

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

#endif // !ZCOPY_CBLAS_H
#endif // !STDLIB_BLAS_BASE_ZCOPY_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 `zcopy`.
*/
#ifndef ZCOPY_FORTRAN_H
#define ZCOPY_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_ZCOPY_FORTRAN_H
#define STDLIB_BLAS_BASE_ZCOPY_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 zcopy( const int *, const void *, const int *, void *, const int * );
}
#endif

#endif // !ZCOPY_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_ZCOPY_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 `zdrot`.
*/
#ifndef ZDROT_H
#define ZDROT_H
#ifndef STDLIB_BLAS_BASE_ZDROT_H
#define STDLIB_BLAS_BASE_ZDROT_H

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

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

#endif // !ZDROT_H
#endif // !STDLIB_BLAS_BASE_ZDROT_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_zdrot`.
*/
#ifndef ZDROT_CBLAS_H
#define ZDROT_CBLAS_H
#ifndef STDLIB_BLAS_BASE_ZDROT_CBLAS_H
#define STDLIB_BLAS_BASE_ZDROT_CBLAS_H

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

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

#endif // !ZDROT_CBLAS_H
#endif // !STDLIB_BLAS_BASE_ZDROT_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 `zdrot`.
*/
#ifndef ZDROT_FORTRAN_H
#define ZDROT_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_ZDROT_FORTRAN_H
#define STDLIB_BLAS_BASE_ZDROT_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 zdrot( const CBLAS_INT *, void *, const CBLAS_INT *, void *, const CBLAS_IN
}
#endif

#endif // !ZDROT_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_ZDROT_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 `zscal`.
*/
#ifndef ZSCAL_H
#define ZSCAL_H
#ifndef STDLIB_BLAS_BASE_ZSCAL_H
#define STDLIB_BLAS_BASE_ZSCAL_H

#include "stdlib/blas/base/shared.h"
#include "stdlib/complex/float64/ctor.h"
Expand All @@ -46,4 +46,4 @@ void API_SUFFIX(c_zscal_ndarray)( const CBLAS_INT N, const stdlib_complex128_t a
}
#endif

#endif // !ZSCAL_H
#endif // !STDLIB_BLAS_BASE_ZSCAL_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_zscal`.
*/
#ifndef ZSCAL_CBLAS_H
#define ZSCAL_CBLAS_H
#ifndef STDLIB_BLAS_BASE_ZSCAL_CBLAS_H
#define STDLIB_BLAS_BASE_ZSCAL_CBLAS_H

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

#endif // !ZSCAL_CBLAS_H
#endif // !STDLIB_BLAS_BASE_ZSCAL_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 `zscal`.
*/
#ifndef ZSCAL_FORTRAN_H
#define ZSCAL_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_ZSCAL_FORTRAN_H
#define STDLIB_BLAS_BASE_ZSCAL_FORTRAN_H

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

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

#endif // !ZSCAL_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_ZSCAL_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 `zswap`.
*/
#ifndef ZSWAP_H
#define ZSWAP_H
#ifndef STDLIB_BLAS_BASE_ZSWAP_H
#define STDLIB_BLAS_BASE_ZSWAP_H

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

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

#endif // !ZSWAP_H
#endif // !STDLIB_BLAS_BASE_ZSWAP_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_zswap`.
*/
#ifndef ZSWAP_CBLAS_H
#define ZSWAP_CBLAS_H
#ifndef STDLIB_BLAS_BASE_ZSWAP_CBLAS_H
#define STDLIB_BLAS_BASE_ZSWAP_CBLAS_H

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

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

#endif // !ZSWAP_CBLAS_H
#endif // !STDLIB_BLAS_BASE_ZSWAP_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 `zswap`.
*/
#ifndef ZSWAP_FORTRAN_H
#define ZSWAP_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_ZSWAP_FORTRAN_H
#define STDLIB_BLAS_BASE_ZSWAP_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 zswap( const int *, void *, const int *, void *, const int * );
}
#endif

#endif // !ZSWAP_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_ZSWAP_FORTRAN_H