Comments (3)
If you need subsections, consider this syntax:
[section]
key=abc
[section:subsection]
key=def
Etcetera. This convention can be used with the ini_putX() functions too.
from minini.
A further enhancement would be if the INI_CALLBACK
handler is first called with section set to section
and key set to NULL
, and in the subsequent call with section set to subsection
and key set to key
. This way the application would actually be notified about the section hierarchy.
from minini.
The [[subsection]]
syntax is used by Py Config which I have no chance to influence.
The simplest idea ist to check for the last closing bracket instead of the first one. What do you think?
from minini.
Related Issues (19)
- Please consider providing source for PDF doc HOT 1
- Make a release HOT 1
- Does not compile for embedded platform HOT 2
- Writing to File
- Leaking file descriptors HOT 1
- Consider preserving comments when re-writing values?
- hope can add "delete a line of comments ‘#’ "
- Handling multiple file system types
- How to write blank lines (newlines)?
- minGlue.h missing include guard HOT 1
- Cannot cmpare a character correctly HOT 1
- Code style in cache_flush() function
- Minor: Documentation for ini_getbool mentions nonexisting parameters HOT 1
- (Misdirected)
- remove "const" from UserData for ini_browse HOT 1
- wrong assert in save_strncpy HOT 1
- Iterator API
- Glue for SPIFFS HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minini.