Code Monkey home page Code Monkey logo

rini's Introduction

Hi there! πŸ‘‹

My name is Ray and I create things! In my GitHub you can find many of my open source projects! πŸ˜„

  • πŸ”­ I’m currently working on raylib and tools!
  • 🌱 I’m currently learning new things every day!
  • πŸ‘ I’m looking to collaborate on any interesting project!
  • πŸ€” I’m looking for help with raylib!
  • πŸ’¬ Ask me about raylib and games development!
  • πŸ“« How to reach me: [email protected]

If you like my work, consider sponsoring me! β™₯️

rini's People

Contributors

raysan5 avatar tyqualters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rini's Issues

rini_load_config's implementation is marked as static

In the implementation of rini_load_config, the function is marked as static. This is preventing it from being used in files other than the one that the implementation is defined in. I believe this is a bug, as the rest of the module's functions are not marked as static, allowing them to be used anywhere.

The issue didn't seem to appear when using C and clang, but it did show up when the rest of the project was C++, and using MSVC, but the issue seems to occur with both C and C++.

I've attached a Reproducible Example to allow you to see the issue.

Environment: Windows 11 22H2 (10.0.22621.1702)
Compiler: MSVC (Microsoft Visual C++) version 19.35.32215
Commit: ef31a3d

const fix C++

To get rini.h to work for me in C++ I had to change line 498 char *buffer_ptr = buffer; to const char *buffer_ptr = buffer; to fix error:

.../rini-main/src/rini.h:498:24: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
498 | char *buffer_ptr = buffer;

value delimiter

I think I am doing something wrong but idk, the value delimiter looks hard coded to a ' ' even if u change it to a '=' it won't work and a space will .ini files should work like this as well:KEY=7 ; but rini doesn't so I changed the ' ' to the value delimiter macro and then it does work ig
https://github.com/raysan5/rini/blob/main/src/rini.h#L496 here is the issue start

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.