Skip to content

refactor: update include header guards for single precision real package #7710

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 Level 1 routine `isamax`.
*/
#ifndef ISAMAX_H
#define ISAMAX_H
#ifndef STDLIB_BLAS_BASE_ISAMAX_H
#define STDLIB_BLAS_BASE_ISAMAX_H

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

Expand All @@ -45,5 +45,5 @@ CBLAS_INT API_SUFFIX(c_isamax_ndarray)( const CBLAS_INT N, const float *X, const
}
#endif

#endif // !ISAMAX_H
#endif // !STDLIB_BLAS_BASE_ISAMAX_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_ISAMAX`.
*/
#ifndef ISAMAX_CBLAS_H
#define ISAMAX_CBLAS_H
#ifndef STDLIB_BLAS_BASE_ISAMAX_CBLAS_H
#define STDLIB_BLAS_BASE_ISAMAX_CBLAS_H

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

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

#endif // !ISAMAX_CBLAS_H
#endif // !STDLIB_BLAS_BASE_ISAMAX_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 `isamax`.
*/
#ifndef ISAMAX_FORTRAN_H
#define ISAMAX_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_ISAMAX_FORTRAN_H
#define STDLIB_BLAS_BASE_ISAMAX_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 isamaxsub( const int *, const float *, const int *, int * );
}
#endif

#endif // !ISAMAX_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_ISAMAX_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 `sasum`.
*/
#ifndef SASUM_H
#define SASUM_H
#ifndef STDLIB_BLAS_BASE_SASUM_H
#define STDLIB_BLAS_BASE_SASUM_H

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

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

#endif // !SASUM_H
#endif // !STDLIB_BLAS_BASE_SASUM_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_sasum`.
*/
#ifndef SASUM_CBLAS_H
#define SASUM_CBLAS_H
#ifndef STDLIB_BLAS_BASE_SASUM_CBLAS_H
#define STDLIB_BLAS_BASE_SASUM_CBLAS_H

#include "stdlib/blas/base/shared"

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

#endif // !SASUM_CBLAS_H
#endif // !STDLIB_BLAS_BASE_SASUM_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 `sasum`.
*/
#ifndef SASUM_FORTRAN_H
#define SASUM_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_SASUM_FORTRAN_H
#define STDLIB_BLAS_BASE_SASUM_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 sasumsub( const int *, const float *, const int *, float * );
}
#endif

#endif // !SASUM_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_SASUM_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 `saxpy`.
*/
#ifndef SAXPY_H
#define SAXPY_H
#ifndef STDLIB_BLAS_BASE_SAXPY_H
#define STDLIB_BLAS_BASE_SAXPY_H

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

Expand All @@ -45,4 +45,4 @@ void API_SUFFIX(c_saxpy_ndarray)( const CBLAS_INT N, const float alpha, const fl
}
#endif

#endif // !SAXPY_H
#endif // !STDLIB_BLAS_BASE_SAXPY_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_saxpy`.
*/
#ifndef SAXPY_CBLAS_H
#define SAXPY_CBLAS_H
#ifndef STDLIB_BLAS_BASE_SAXPY_CBLAS_H
#define STDLIB_BLAS_BASE_SAXPY_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ void API_SUFFIX(cblas_saxpy)( const CBLAS_INT N, const float alpha, const float
}
#endif

#endif // !SAXPY_CBLAS_H
#endif // !STDLIB_BLAS_BASE_SAXPY_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 `saxpy`.
*/
#ifndef SAXPY_FORTRAN_H
#define SAXPY_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_SAXPY_FORTRAN_H
#define STDLIB_BLAS_BASE_SAXPY_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 saxpy( const int *, const float *, const float *, const int *, float *, con
}
#endif

#endif // !SAXPY_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_SAXPY_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 `scabs1`.
*/
#ifndef SCABS1_H
#define SCABS1_H
#ifndef STDLIB_BLAS_BASE_SCABS1_H
#define STDLIB_BLAS_BASE_SCABS1_H

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

Expand All @@ -40,5 +40,5 @@ float c_scabs1( const stdlib_complex64_t c );
}
#endif

#endif // !SCABS1_H
#endif // !STDLIB_BLAS_BASE_SCABS1_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_scabs1`.
*/
#ifndef SCABS1_CBLAS_H
#define SCABS1_CBLAS_H
#ifndef STDLIB_BLAS_BASE_SCABS1_CBLAS_H
#define STDLIB_BLAS_BASE_SCABS1_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ float cblas_scabs1( const stdlib_complex64_t c );
}
#endif

#endif // !SCABS1_CBLAS_H
#endif // !STDLIB_BLAS_BASE_SCABS1_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 `scabs1`.
*/
#ifndef SCABS1_FORTRAN_H
#define SCABS1_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_SCABS1_FORTRAN_H
#define STDLIB_BLAS_BASE_SCABS1_FORTRAN_H

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

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

#endif // !SCABS1_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_SCABS1_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 `scnrm2`.
*/
#ifndef SCNRM2_H
#define SCNRM2_H
#ifndef STDLIB_BLAS_BASE_SCNRM2_H
#define STDLIB_BLAS_BASE_SCNRM2_H

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

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

#endif // !SCNRM2_H
#endif // !STDLIB_BLAS_BASE_SCNRM2_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_scnrm2`.
*/
#ifndef SCNRM2_CBLAS_H
#define SCNRM2_CBLAS_H
#ifndef STDLIB_BLAS_BASE_SCNRM2_CBLAS_H
#define STDLIB_BLAS_BASE_SCNRM2_CBLAS_H

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

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

#endif // !SCNRM2_CBLAS_H
#endif // !STDLIB_BLAS_BASE_SCNRM2_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 `scnrm2`.
*/
#ifndef SCNRM2_FORTRAN_H
#define SCNRM2_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_SCNRM2_FORTRAN_H
#define STDLIB_BLAS_BASE_SCNRM2_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 scnrm2sub( const int *, const void *, const int *, float * );
}
#endif

#endif // !SCNRM2_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_SCNRM2_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 `scopy`.
*/
#ifndef SCOPY_H
#define SCOPY_H
#ifndef STDLIB_BLAS_BASE_SCOPY_H
#define STDLIB_BLAS_BASE_SCOPY_H

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

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

#endif // !SCOPY_H
#endif // !STDLIB_BLAS_BASE_SCOPY_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_scopy`.
*/
#ifndef SCOPY_CBLAS_H
#define SCOPY_CBLAS_H
#ifndef STDLIB_BLAS_BASE_SCOPY_CBLAS_H
#define STDLIB_BLAS_BASE_SCOPY_CBLAS_H

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

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

#endif // !SCOPY_CBLAS_H
#endif // !STDLIB_BLAS_BASE_SCOPY_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 `scopy`.
*/
#ifndef SCOPY_FORTRAN_H
#define SCOPY_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_SCOPY_FORTRAN_H
#define STDLIB_BLAS_BASE_SCOPY_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 scopy( const int *, const float *, const int *, float *, const int * );
}
#endif

#endif // !SCOPY_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_SCOPY_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_sdot`.
*/
#ifndef SDOT_H
#define SDOT_H
#ifndef STDLIB_BLAS_BASE_SDOT_H
#define STDLIB_BLAS_BASE_SDOT_H

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

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

#endif // !SDOT_H
#endif // !STDLIB_BLAS_BASE_SDOT_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_sdot`.
*/
#ifndef SDOT_CBLAS_H
#define SDOT_CBLAS_H
#ifndef STDLIB_BLAS_BASE_SDOT_CBLAS_H
#define STDLIB_BLAS_BASE_SDOT_CBLAS_H

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

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

#endif // !SDOT_CBLAS_H
#endif // !STDLIB_BLAS_BASE_SDOT_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 `sdot`.
*/
#ifndef SDOT_FORTRAN_H
#define SDOT_FORTRAN_H
#ifndef STDLIB_BLAS_BASE_SDOT_FORTRAN_H
#define STDLIB_BLAS_BASE_SDOT_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 sdotsub( const int *, const float *, const int *, const float *, const int
}
#endif

#endif // !SDOT_FORTRAN_H
#endif // !STDLIB_BLAS_BASE_SDOT_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_sdsdot`.
*/
#ifndef SDSDOT_H
#define SDSDOT_H
#ifndef STDLIB_BLAS_BASE_SDSDOT_H
#define STDLIB_BLAS_BASE_SDSDOT_H

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

Expand All @@ -45,4 +45,4 @@ float API_SUFFIX(c_sdsdot_ndarray)( const CBLAS_INT N, const float scalar, const
}
#endif

#endif // !SDSDOT_H
#endif // !STDLIB_BLAS_BASE_SDSDOT_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_sdsdot`.
*/
#ifndef SDSDOT_CBLAS_H
#define SDSDOT_CBLAS_H
#ifndef STDLIB_BLAS_BASE_SDSDOT_CBLAS_H
#define STDLIB_BLAS_BASE_SDSDOT_CBLAS_H

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

Expand All @@ -40,4 +40,4 @@ float API_SUFFIX(cblas_sdsdot)( const CBLAS_INT N, const float scalar, const flo
}
#endif

#endif // !SDSDOT_CBLAS_H
#endif // !STDLIB_BLAS_BASE_SDSDOT_CBLAS_H
Loading
Loading