Skip to content

Commit bfa899f

Browse files
authored
refactor: update include header guards for double precision complex packages
PR-URL: #7709 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent d559fd7 commit bfa899f

File tree

12 files changed

+36
-36
lines changed

12 files changed

+36
-36
lines changed

lib/node_modules/@stdlib/blas/base/zcopy/include/stdlib/blas/base/zcopy.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `zcopy`.
2121
*/
22-
#ifndef ZCOPY_H
23-
#define ZCOPY_H
22+
#ifndef STDLIB_BLAS_BASE_ZCOPY_H
23+
#define STDLIB_BLAS_BASE_ZCOPY_H
2424

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

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

48-
#endif // !ZCOPY_H
48+
#endif // !STDLIB_BLAS_BASE_ZCOPY_H

lib/node_modules/@stdlib/blas/base/zcopy/include/stdlib/blas/base/zcopy_cblas.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_zcopy`.
2121
*/
22-
#ifndef ZCOPY_CBLAS_H
23-
#define ZCOPY_CBLAS_H
22+
#ifndef STDLIB_BLAS_BASE_ZCOPY_CBLAS_H
23+
#define STDLIB_BLAS_BASE_ZCOPY_CBLAS_H
2424

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

@@ -40,4 +40,4 @@ void API_SUFFIX(cblas_zcopy)( const CBLAS_INT N, const void *X, const CBLAS_INT
4040
}
4141
#endif
4242

43-
#endif // !ZCOPY_CBLAS_H
43+
#endif // !STDLIB_BLAS_BASE_ZCOPY_CBLAS_H

lib/node_modules/@stdlib/blas/base/zcopy/include/stdlib/blas/base/zcopy_fortran.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the Fortran interface to the BLAS Level 1 routine `zcopy`.
2121
*/
22-
#ifndef ZCOPY_FORTRAN_H
23-
#define ZCOPY_FORTRAN_H
22+
#ifndef STDLIB_BLAS_BASE_ZCOPY_FORTRAN_H
23+
#define STDLIB_BLAS_BASE_ZCOPY_FORTRAN_H
2424

2525
/*
2626
* 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).
@@ -38,4 +38,4 @@ void zcopy( const int *, const void *, const int *, void *, const int * );
3838
}
3939
#endif
4040

41-
#endif // !ZCOPY_FORTRAN_H
41+
#endif // !STDLIB_BLAS_BASE_ZCOPY_FORTRAN_H

lib/node_modules/@stdlib/blas/base/zdrot/include/stdlib/blas/base/zdrot.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `zdrot`.
2121
*/
22-
#ifndef ZDROT_H
23-
#define ZDROT_H
22+
#ifndef STDLIB_BLAS_BASE_ZDROT_H
23+
#define STDLIB_BLAS_BASE_ZDROT_H
2424

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

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

48-
#endif // !ZDROT_H
48+
#endif // !STDLIB_BLAS_BASE_ZDROT_H

lib/node_modules/@stdlib/blas/base/zdrot/include/stdlib/blas/base/zdrot_cblas.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_zdrot`.
2121
*/
22-
#ifndef ZDROT_CBLAS_H
23-
#define ZDROT_CBLAS_H
22+
#ifndef STDLIB_BLAS_BASE_ZDROT_CBLAS_H
23+
#define STDLIB_BLAS_BASE_ZDROT_CBLAS_H
2424

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

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

43-
#endif // !ZDROT_CBLAS_H
43+
#endif // !STDLIB_BLAS_BASE_ZDROT_CBLAS_H

lib/node_modules/@stdlib/blas/base/zdrot/include/stdlib/blas/base/zdrot_fortran.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the Fortran interface to the BLAS Level 1 routine `zdrot`.
2121
*/
22-
#ifndef ZDROT_FORTRAN_H
23-
#define ZDROT_FORTRAN_H
22+
#ifndef STDLIB_BLAS_BASE_ZDROT_FORTRAN_H
23+
#define STDLIB_BLAS_BASE_ZDROT_FORTRAN_H
2424

2525
/*
2626
* 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).
@@ -38,4 +38,4 @@ void zdrot( const CBLAS_INT *, void *, const CBLAS_INT *, void *, const CBLAS_IN
3838
}
3939
#endif
4040

41-
#endif // !ZDROT_FORTRAN_H
41+
#endif // !STDLIB_BLAS_BASE_ZDROT_FORTRAN_H

lib/node_modules/@stdlib/blas/base/zscal/include/stdlib/blas/base/zscal.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `zscal`.
2121
*/
22-
#ifndef ZSCAL_H
23-
#define ZSCAL_H
22+
#ifndef STDLIB_BLAS_BASE_ZSCAL_H
23+
#define STDLIB_BLAS_BASE_ZSCAL_H
2424

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

49-
#endif // !ZSCAL_H
49+
#endif // !STDLIB_BLAS_BASE_ZSCAL_H

lib/node_modules/@stdlib/blas/base/zscal/include/stdlib/blas/base/zscal_cblas.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_zscal`.
2121
*/
22-
#ifndef ZSCAL_CBLAS_H
23-
#define ZSCAL_CBLAS_H
22+
#ifndef STDLIB_BLAS_BASE_ZSCAL_CBLAS_H
23+
#define STDLIB_BLAS_BASE_ZSCAL_CBLAS_H
2424

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

44-
#endif // !ZSCAL_CBLAS_H
44+
#endif // !STDLIB_BLAS_BASE_ZSCAL_CBLAS_H

lib/node_modules/@stdlib/blas/base/zscal/include/stdlib/blas/base/zscal_fortran.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the Fortran interface to the BLAS Level 1 routine `zscal`.
2121
*/
22-
#ifndef ZSCAL_FORTRAN_H
23-
#define ZSCAL_FORTRAN_H
22+
#ifndef STDLIB_BLAS_BASE_ZSCAL_FORTRAN_H
23+
#define STDLIB_BLAS_BASE_ZSCAL_FORTRAN_H
2424

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

@@ -40,4 +40,4 @@ void zscal( const int *, const stdlib_complex128_t *, void *, const int * );
4040
}
4141
#endif
4242

43-
#endif // !ZSCAL_FORTRAN_H
43+
#endif // !STDLIB_BLAS_BASE_ZSCAL_FORTRAN_H

lib/node_modules/@stdlib/blas/base/zswap/include/stdlib/blas/base/zswap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `zswap`.
2121
*/
22-
#ifndef ZSWAP_H
23-
#define ZSWAP_H
22+
#ifndef STDLIB_BLAS_BASE_ZSWAP_H
23+
#define STDLIB_BLAS_BASE_ZSWAP_H
2424

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

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

48-
#endif // !ZSWAP_H
48+
#endif // !STDLIB_BLAS_BASE_ZSWAP_H

0 commit comments

Comments
 (0)