Skip to content

Commit 4b24f24

Browse files
committed
Update version
1 parent ee834df commit 4b24f24

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ sources.
7272
Paths with `cppygen` will parse.`cppygen` can extract structs or classes from
7373
headers.
7474

75+
**diagnostic** [boolean]
76+
Default is "True". An option for outputting diagnostics and detecting errors during parsing.
77+
7578
**output_dir** [path, **required**]
7679
Output directory of generated code.
7780

cppygen/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.7"
1+
__version__ = "0.1.8"

cppygen/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def run():
8888
for i in headers:
8989
cppygen.parse_from_file(i, lang="hpp", flags=configs.get("flags", []))
9090
else:
91-
with_diagnostic = configs.get("diagnostic", False)
91+
with_diagnostic = configs.get("diagnostic", True)
9292
cppygen.parse(
9393
source="\n".join([f"#include<{i}>" for i in headers]),
9494
filename="tmp.hpp",

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pythonPlatform = "Darwin"
88

99
[tool.poetry]
1010
name = "cppygen"
11-
version = "0.1.7"
11+
version = "0.1.8"
1212
description = "A simple c++ code generator for pybind11"
1313
readme = "README.md"
1414
authors = ["Gen740 <[email protected]>"]

0 commit comments

Comments
 (0)