mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 16:56:42 +08:00
Added contact information to README.
This commit is contained in:
parent
dd606fd450
commit
e7a093709f
@ -26,7 +26,7 @@ tutorial.
|
|||||||
|
|
||||||
Simply add `enum.h` and `enum_preprocessor_map.h` to your project. The current
|
Simply add `enum.h` and `enum_preprocessor_map.h` to your project. The current
|
||||||
version can be found at
|
version can be found at
|
||||||
[https://github.com/aantron/better-enums](https://github.com/aantron/better-enums).
|
[https://github.com/aantron/better-enums/releases](https://github.com/aantron/better-enums/releases).
|
||||||
|
|
||||||
`enum_preprocessor_map.h` can handle enums with up to 256 constants. If you have
|
`enum_preprocessor_map.h` can handle enums with up to 256 constants. If you have
|
||||||
more, re-generate it by running something like:
|
more, re-generate it by running something like:
|
||||||
@ -68,6 +68,11 @@ to lagging C++11 support in msvc. It should ultimately be portable to msvc,
|
|||||||
since msvc has its own version of weak symbols. Everything else in the library
|
since msvc has its own version of weak symbols. Everything else in the library
|
||||||
is standard C++.
|
is standard C++.
|
||||||
|
|
||||||
|
## Contact
|
||||||
|
|
||||||
|
Don't hesitate to contact me about features (or bugs!):
|
||||||
|
<a href="mailto:antonbachin@yahoo.com">antonbachin@yahoo.com</a>
|
||||||
|
|
||||||
## Explanation
|
## Explanation
|
||||||
|
|
||||||
The `ENUM` macro specializes a template based around a regular `enum`
|
The `ENUM` macro specializes a template based around a regular `enum`
|
||||||
|
|||||||
@ -925,9 +925,6 @@ for (var index = 0; index < property_headers.length; ++index) {
|
|||||||
var header = property_headers[index];
|
var header = property_headers[index];
|
||||||
var next = header.nextSibling;
|
var next = header.nextSibling;
|
||||||
|
|
||||||
console.log(header);
|
|
||||||
console.log(header.parentNode);
|
|
||||||
|
|
||||||
if (next === null)
|
if (next === null)
|
||||||
header.parentNode.appendChild(br);
|
header.parentNode.appendChild(br);
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user