Skip to content

refactor: update include header guards for double precision real package #7711

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 22, 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 `dasum`.
*/
#ifndef DASUM_H
#define DASUM_H
#ifndef STDLIB_BLAS_BASE_DASUM_H
#define STDLIB_BLAS_BASE_DASUM_H

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

Expand All @@ -45,4 +45,4 @@ double API_SUFFIX(c_dasum_ndarray)( const CBLAS_INT N, const double *X, const CB
}
#endif

#endif // !DASUM_H
#endif // !STDLIB_BLAS_BASE_DASUM_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_dasum`.
*/
#ifndef DASUM_CBLAS_H
#define DASUM_CBLAS_H
#ifndef STDLIB_BLAS_BASE_DASUM_CBLAS_H
#define STDLIB_BLAS_BASE_DASUM_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ double API_SUFFIX(cblas_dasum)( const CBLAS_INT N, const double *X, const CBLAS_
}
#endif

#endif // !DASUM_CBLAS_H
#endif // !STDLIB_BLAS_BASE_DASUM_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 `dasum`.
*/
#ifndef DASUM_FORTRAN_H
#define DASUM_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_DASUM_FORTRAN_H
#define STDLIB_BLAS_BASE_DASUM_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 dasumsub( const CBLAS_INT *, const double *, const CBLAS_INT *, double * );
}
#endif

#endif // !DASUM_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_DASUM_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 `daxpy`.
*/
#ifndef DAXPY_H
#define DAXPY_H
#ifndef STDLIB_BLAS_BASE_DAXPY_H
#define STDLIB_BLAS_BASE_DAXPY_H

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

Expand All @@ -45,4 +45,4 @@ void API_SUFFIX(c_daxpy_ndarray)( const CBLAS_INT N, const double alpha, const d
}
#endif

#endif // !DAXPY_H
#endif // !STDLIB_BLAS_BASE_DAXPY_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_daxpy`.
*/
#ifndef DAXPY_CBLAS_H
#define DAXPY_CBLAS_H
#ifndef STDLIB_BLAS_BASE_DAXPY_CBLAS_H
#define STDLIB_BLAS_BASE_DAXPY_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ void API_SUFFIX(cblas_daxpy)( const CBLAS_INT N, const double alpha, const doubl
}
#endif

#endif // !DAXPY_CBLAS_H
#endif // !STDLIB_BLAS_BASE_DAXPY_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 `daxpy`.
*/
#ifndef DAXPY_FORTRAN_H
#define DAXPY_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_DAXPY_FORTRAN_H
#define STDLIB_BLAS_BASE_DAXPY_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 daxpy( const CBLAS_INT *, const double *, const double *, const CBLAS_INT *
}
#endif

#endif // !DAXPY_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_DAXPY_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 Level 1 routine `dcabs1`.
*/
#ifndef DCABS1_H
#define DCABS1_H
#ifndef STDLIB_BLAS_BASE_DCABS1_H
#define STDLIB_BLAS_BASE_DCABS1_H

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

Expand All @@ -40,4 +40,4 @@ double c_dcabs1( const stdlib_complex128_t z );
}
#endif

#endif // !DCABS1_H
#endif // !STDLIB_BLAS_BASE_DCABS1_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_dcabs1`.
*/
#ifndef DCABS1_CBLAS_H
#define DCABS1_CBLAS_H
#ifndef STDLIB_BLAS_BASE_DCABS1_CBLAS_H
#define STDLIB_BLAS_BASE_DCABS1_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ double cblas_dcabs1( const stdlib_complex128_t z );
}
#endif

#endif // !DCABS1_CBLAS_H
#endif // !STDLIB_BLAS_BASE_DCABS1_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 `dcabs1`.
*/
#ifndef DCABS1_FORTRAN_H
#define DCABS1_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_DCABS1_FORTRAN_H
#define STDLIB_BLAS_BASE_DCABS1_FORTRAN_H

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

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

#endif // !DCABS1_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_DCABS1_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 `dcopy`.
*/
#ifndef DCOPY_H
#define DCOPY_H
#ifndef STDLIB_BLAS_BASE_DCOPY_H
#define STDLIB_BLAS_BASE_DCOPY_H

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

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

#endif // !DCOPY_H
#endif // !STDLIB_BLAS_BASE_DCOPY_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_dcopy`.
*/
#ifndef DCOPY_CBLAS_H
#define DCOPY_CBLAS_H
#ifndef STDLIB_BLAS_BASE_DCOPY_CBLAS_H
#define STDLIB_BLAS_BASE_DCOPY_CBLAS_H

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

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

#endif // !DCOPY_CBLAS_H
#endif // !STDLIB_BLAS_BASE_DCOPY_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 `dcopy`.
*/
#ifndef DCOPY_FORTRAN_H
#define DCOPY_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_DCOPY_FORTRAN_H
#define STDLIB_BLAS_BASE_DCOPY_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 dcopy( const CBLAS_INT *, const double *, const CBLAS_INT *, double *, cons
}
#endif

#endif // !DCOPY_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_DCOPY_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 `c_ddot`.
*/
#ifndef DDOT_H
#define DDOT_H
#ifndef STDLIB_BLAS_BASE_DDOT_H
#define STDLIB_BLAS_BASE_DDOT_H

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

Expand All @@ -45,4 +45,4 @@ double API_SUFFIX(c_ddot_ndarray)( const CBLAS_INT N, const double *X, const CBL
}
#endif

#endif // !DDOT_H
#endif // !STDLIB_BLAS_BASE_DDOT_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_ddot`.
*/
#ifndef DDOT_CBLAS_H
#define DDOT_CBLAS_H
#ifndef STDLIB_BLAS_BASE_DDOT_CBLAS_H
#define STDLIB_BLAS_BASE_DDOT_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ double API_SUFFIX(cblas_ddot)( const CBLAS_INT N, const double *X, const CBLAS_I
}
#endif

#endif // !DDOT_CBLAS_H
#endif // !STDLIB_BLAS_BASE_DDOT_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 `ddot`.
*/
#ifndef DDOT_FORTRAN_H
#define DDOT_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_DDOT_FORTRAN_H
#define STDLIB_BLAS_BASE_DDOT_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 compiler.
Expand Down
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 2 routine `dgemv`.
*/
#ifndef DGEMV_H
#define DGEMV_H
#ifndef STDLIB_BLAS_BASE_DGEMV_H
#define STDLIB_BLAS_BASE_DGEMV_H

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

Expand All @@ -45,4 +45,4 @@ void API_SUFFIX(c_dgemv_ndarray)( const CBLAS_TRANSPOSE trans, const CBLAS_INT M
}
#endif

#endif // !DGEMV_H
#endif // !STDLIB_BLAS_BASE_DGEMV_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 2 routine `dgemv`.
*/
#ifndef DGEMV_CBLAS_H
#define DGEMV_CBLAS_H
#ifndef STDLIB_BLAS_BASE_DGEMV_CBLAS_H
#define STDLIB_BLAS_BASE_DGEMV_CBLAS_H

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

Expand All @@ -45,4 +45,4 @@ void API_SUFFIX(c_dgemv_ndarray)( const CBLAS_TRANSPOSE trans, const CBLAS_INT M
}
#endif

#endif // !DGEMV_CBLAS_H
#endif // !STDLIB_BLAS_BASE_DGEMV_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 2 routine `dger`.
*/
#ifndef DGER_H
#define DGER_H
#ifndef STDLIB_BLAS_BASE_DGER_H
#define STDLIB_BLAS_BASE_DGER_H

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

Expand All @@ -45,4 +45,4 @@ void API_SUFFIX(c_dger_ndarray)( const CBLAS_INT M, const CBLAS_INT N, const dou
}
#endif

#endif // !DGER_H
#endif // !STDLIB_BLAS_BASE_DGER_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 2 routine `cblas_dger`.
*/
#ifndef DGER_CBLAS_H
#define DGER_CBLAS_H
#ifndef STDLIB_BLAS_BASE_DGER_CBLAS_H
#define STDLIB_BLAS_BASE_DGER_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ void API_SUFFIX(cblas_dger)( const CBLAS_LAYOUT layout, const CBLAS_INT M, const
}
#endif

#endif // !DGER_CBLAS_H
#endif // !STDLIB_BLAS_BASE_DGER_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 2 routine `dger`.
*/
#ifndef DGER_FORTRAN_H
#define DGER_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_DGER_FORTRAN_H
#define STDLIB_BLAS_BASE_DGER_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 dger( const CBLAS_INT *, const CBLAS_INT *, const double *, const double *,
}
#endif

#endif // !DGER_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_DGER_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 `c_dnrm2`.
*/
#ifndef DNRM2_H
#define DNRM2_H
#ifndef STDLIB_BLAS_BASE_DNRM2_H
#define STDLIB_BLAS_BASE_DNRM2_H

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

Expand All @@ -45,4 +45,4 @@ double API_SUFFIX(c_dnrm2_ndarray)( const CBLAS_INT N, const double *X, const CB
}
#endif

#endif // !DNRM2_H
#endif // !STDLIB_BLAS_BASE_DNRM2_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 `cblas_dnrm2`.
*/
#ifndef DNRM2_CBLAS_H
#define DNRM2_CBLAS_H
#ifndef STDLIB_BLAS_BASE_DNRM2_CBLAS_H
#define STDLIB_BLAS_BASE_DNRM2_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ double API_SUFFIX(cblas_dnrm2)( const CBLAS_INT N, const double *X, const CBLAS_
}
#endif

#endif // !DNRM2_CBLAS_H
#endif // !STDLIB_BLAS_BASE_DNRM2_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 `dnrm2`.
*/
#ifndef DNRM2_FORTRAN_H
#define DNRM2_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_DNRM2_FORTRAN_H
#define STDLIB_BLAS_BASE_DNRM2_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 compiler.
Expand All @@ -38,4 +38,4 @@ void dnrm2sub( const CBLAS_INT *, const double *, const CBLAS_INT *, double * );
}
#endif

#endif // !DNRM2_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_DNRM2_FORTRAN_H
Loading