Skip to content

Commit 2feaff6

Browse files
authored
updated toml++ dependency (#44)
also a few minor README tweaks
1 parent 4b3957c commit 2feaff6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
You can try this parser online [here](http://toml-parser.com).
99

10-
This is an unofficial python wrapper for tomlplusplus (https://marzer.github.io/tomlplusplus/).
10+
This is an unofficial python wrapper for `toml++` (https://marzer.github.io/tomlplusplus/).
1111

1212
Some points you may want to know before use:
13-
* Using `tomlplusplus` means that this module is fully compatible with TOML v1.0.0.
13+
* Using `toml++` means that this module is fully compatible with TOML [v1.0.0-rc.3](https://toml.io/en/v1.0.0-rc.3).
1414
* We convert toml structure to native python data structures (dict/list etc.) when parsing, this is more inline with what `json` module does.
1515
* The binding is using [pybind11](https://github.com/pybind/pybind11).
1616
* The project is tested using [toml-test](https://github.com/BurntSushi/toml-test) and [pytest](https://github.com/pytest-dev/pytest).

include/pytomlpp/pytomlpp.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
#define TOML_LARGE_FILES 1
77
#define TOML_HEADER_ONLY 0
88
#define TOML_UNDEF_MACROS 0 // leaves some toml++'s macros for us to use
9+
#ifdef __APPLE__
10+
#define TOML_INT_CHARCONV 0
11+
#endif
912

1013
// pytomlpp config
1114
#ifndef PYTOMLPP_PROFILING

third_party/tomlplusplus

Submodule tomlplusplus updated 91 files

0 commit comments

Comments
 (0)