Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
gen740 committed Sep 27, 2023
1 parent ee834df commit 4b24f24
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ sources.
Paths with `cppygen` will parse.`cppygen` can extract structs or classes from
headers.

**diagnostic** [boolean]
Default is "True". An option for outputting diagnostics and detecting errors during parsing.

**output_dir** [path, **required**]
Output directory of generated code.

Expand Down
2 changes: 1 addition & 1 deletion cppygen/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.7"
__version__ = "0.1.8"
2 changes: 1 addition & 1 deletion cppygen/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def run():
for i in headers:
cppygen.parse_from_file(i, lang="hpp", flags=configs.get("flags", []))
else:
with_diagnostic = configs.get("diagnostic", False)
with_diagnostic = configs.get("diagnostic", True)
cppygen.parse(
source="\n".join([f"#include<{i}>" for i in headers]),
filename="tmp.hpp",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pythonPlatform = "Darwin"

[tool.poetry]
name = "cppygen"
version = "0.1.7"
version = "0.1.8"
description = "A simple c++ code generator for pybind11"
readme = "README.md"
authors = ["Gen740 <[email protected]>"]
Expand Down

0 comments on commit 4b24f24

Please sign in to comment.