Skip to content
Open
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
2 changes: 0 additions & 2 deletions include/gdstk/allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
#ifndef GDSTK_HEADER_ALLOCATOR
#define GDSTK_HEADER_ALLOCATOR

#define __STDC_FORMAT_MACROS 1

#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
4 changes: 1 addition & 3 deletions include/gdstk/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_ARRAY
#define GDSTK_HEADER_ARRAY

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#define ARRAY_GROWTH_FACTOR 2
#define INITIAL_ARRAY_CAPACITY 4

#include <inttypes.h>
#include <cinttypes>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/cell.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_CELL
#define GDSTK_HEADER_CELL

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/clipper_tools.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_CLIPPER_TOOLS
#define GDSTK_HEADER_CLIPPER_TOOLS

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/curve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_CURVE
#define GDSTK_HEADER_CURVE

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <math.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/flexpath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_FLEXPATH
#define GDSTK_HEADER_FLEXPATH

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/gdsii.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_GDSII
#define GDSTK_HEADER_GDSII

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/gdstk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_GDSTK
#define GDSTK_HEADER_GDSTK

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#define GDSTK_VERSION "1.0.0"
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/gdswriter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_GDSWRITER
#define GDSTK_HEADER_GDSWRITER

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdio.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/label.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_LABEL
#define GDSTK_HEADER_LABEL

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/layername.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_LAYERNAME
#define GDSTK_HEADER_LAYERNAME

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/library.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_LIBRARY
#define GDSTK_HEADER_LIBRARY

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdio.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_MAP
#define GDSTK_HEADER_MAP

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <assert.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/oasis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_OASIS
#define GDSTK_HEADER_OASIS

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/pathcommon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_PATHCOMMON
#define GDSTK_HEADER_PATHCOMMON

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

namespace gdstk {
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/polygon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_POLYGON
#define GDSTK_HEADER_POLYGON

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/property.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_PROPERTY
#define GDSTK_HEADER_PROPERTY

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/rawcell.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_RAWCELL
#define GDSTK_HEADER_RAWCELL

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/reference.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_REFERENCE
#define GDSTK_HEADER_REFERENCE

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/repetition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_REPETITION
#define GDSTK_HEADER_REPETITION

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include "array.hpp"
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/robustpath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_ROBUSTPATH
#define GDSTK_HEADER_ROBUSTPATH

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/set.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_SET
#define GDSTK_HEADER_SET

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <assert.h>
Expand Down
4 changes: 1 addition & 3 deletions include/gdstk/sort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_SORT
#define GDSTK_HEADER_SORT

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <inttypes.h>
#include <cinttypes>

#include "array.hpp"

Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/style.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_STYLE
#define GDSTK_HEADER_STYLE

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <stdint.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/tagmap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_TAGMAP
#define GDSTK_HEADER_TAGMAP

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <assert.h>
Expand Down
2 changes: 0 additions & 2 deletions include/gdstk/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_UTILS
#define GDSTK_HEADER_UTILS

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#define GDSTK_PRINT_BUFFER_COUNT 1024
Expand Down
4 changes: 1 addition & 3 deletions include/gdstk/vec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>

#ifndef GDSTK_HEADER_VEC
#define GDSTK_HEADER_VEC

#define __STDC_FORMAT_MACROS 1
#define _USE_MATH_DEFINES

#include <inttypes.h>
#include <cinttypes>
#include <math.h>

namespace gdstk {
Expand Down
4 changes: 1 addition & 3 deletions src/cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ This file is part of gdstk, distributed under the terms of the
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 <cinttypes>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
Expand Down
2 changes: 0 additions & 2 deletions src/clipper_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ This file is part of gdstk, distributed under the terms of the
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>
Expand Down
4 changes: 1 addition & 3 deletions src/curve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ This file is part of gdstk, distributed under the terms of the
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 <cinttypes>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
Expand Down
4 changes: 1 addition & 3 deletions src/flexpath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ This file is part of gdstk, distributed under the terms of the
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 <cinttypes>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
Expand Down
2 changes: 0 additions & 2 deletions src/gdsii.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ This file is part of gdstk, distributed under the terms of the
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>
Expand Down
2 changes: 0 additions & 2 deletions src/label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ This file is part of gdstk, distributed under the terms of the
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>
Expand Down
2 changes: 0 additions & 2 deletions src/layername.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ This file is part of gdstk, distributed under the terms of the
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
4 changes: 1 addition & 3 deletions src/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ This file is part of gdstk, distributed under the terms of the
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 <cinttypes>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
Expand Down
2 changes: 0 additions & 2 deletions src/oasis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ This file is part of gdstk, distributed under the terms of the
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>
Expand Down
4 changes: 1 addition & 3 deletions src/polygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ This file is part of gdstk, distributed under the terms of the
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 <cinttypes>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
Expand Down
2 changes: 0 additions & 2 deletions src/property.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ This file is part of gdstk, distributed under the terms of the
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
4 changes: 1 addition & 3 deletions src/rawcell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ This file is part of gdstk, distributed under the terms of the
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 <cinttypes>
#include <stdint.h>
#include <stdio.h>

Expand Down
Loading