Skip to content

Commit

Permalink
Release v0.9.46
Browse files Browse the repository at this point in the history
Bug fix release to add preprocessor definitions in all compilation units
before including system headers.

Signed-off-by: Lucas Heitzmann Gabrielli <heitzmann@gmail.com>
  • Loading branch information
heitzmann committed Oct 13, 2023
1 parent 91835e0 commit d605ae9
Show file tree
Hide file tree
Showing 19 changed files with 50 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/gdstk/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
#ifndef GDSTK_HEADER_ARRAY
#define GDSTK_HEADER_ARRAY

#define _USE_MATH_DEFINES
#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#define ARRAY_GROWTH_FACTOR 2
#define INITIAL_ARRAY_CAPACITY 4
Expand Down
2 changes: 1 addition & 1 deletion include/gdstk/gdstk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#define GDSTK_VERSION "0.9.45"
#define GDSTK_VERSION "0.9.46"

// If GDSTK_CUSTOM_ALLOCATOR is defined, the user must supply implementations
// for the following dynamic memory management functions:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gdstk"
version = "0.9.45"
version = "0.9.46"
authors = [{name = "Lucas H. Gabrielli", email = "heitzmann@gmail.com"}]
description = "Python module for creation and manipulation of GDSII files."
readme = "README.md"
Expand Down Expand Up @@ -62,7 +62,7 @@ message_template = "Bump to {new_version}"
tag_template = "v{new_version}"

[tool.tbump.version]
current = "0.9.45"
current = "0.9.46"
regex = '''
(?P<major>\d+)
\.
Expand Down
3 changes: 3 additions & 0 deletions src/cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <float.h>
#include <inttypes.h>
#include <stdint.h>
Expand Down
3 changes: 3 additions & 0 deletions src/clipper_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <math.h>
#include <stdint.h>
#include <stdio.h>
Expand Down
3 changes: 3 additions & 0 deletions src/curve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <inttypes.h>
#include <math.h>
#include <stdint.h>
Expand Down
3 changes: 3 additions & 0 deletions src/flexpath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <inttypes.h>
#include <math.h>
#include <stdint.h>
Expand Down
3 changes: 3 additions & 0 deletions src/gdsii.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <math.h>
#include <stdint.h>
#include <stdio.h>
Expand Down
3 changes: 3 additions & 0 deletions src/label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <math.h>
#include <stdint.h>
#include <stdio.h>
Expand Down
3 changes: 3 additions & 0 deletions src/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <float.h>
#include <inttypes.h>
#include <math.h>
Expand Down
3 changes: 3 additions & 0 deletions src/oasis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <assert.h>
#include <limits.h>
#include <math.h>
Expand Down
3 changes: 3 additions & 0 deletions src/polygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <float.h>
#include <inttypes.h>
#include <math.h>
Expand Down
3 changes: 3 additions & 0 deletions src/property.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
3 changes: 3 additions & 0 deletions src/rawcell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <assert.h>
#include <inttypes.h>
#include <stdint.h>
Expand Down
3 changes: 3 additions & 0 deletions src/reference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <float.h>
#include <math.h>
#include <stdint.h>
Expand Down
1 change: 1 addition & 0 deletions src/repetition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
3 changes: 3 additions & 0 deletions src/robustpath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <inttypes.h>
#include <math.h>
#include <stdint.h>
Expand Down
3 changes: 3 additions & 0 deletions src/style.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <assert.h>
#include <stdint.h>
#include <stdio.h>
Expand Down
3 changes: 3 additions & 0 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <assert.h>
#include <inttypes.h>
#include <limits.h>
Expand Down

0 comments on commit d605ae9

Please sign in to comment.