Git Product home page Git Product logo

Comments (6)

kdschlosser avatar kdschlosser commented on June 25, 2024

header files that contain C++ code should have the extension hpp and the source files should be cpp. This allows for easy identification of what header files contain C++ code.

Ideally there should be no inclusion of any c++ code into any public C header files. If this is done it trips things up with both the documentation and possibly in binding code generation.

from lvgl.

C47D avatar C47D commented on June 25, 2024

Hi,

Would it be done incrementally (one pull request per library) or in a single huge pull request?

from lvgl.

kdschlosser avatar kdschlosser commented on June 25, 2024

This is just for discussion purposes. Because we are starting to add a lot of C++ code into the project we need to make sure we think about the bindings that rely on C code in order to generate the proper binding code.

This is to make the developers aware of a potential road block that is starting to happen.

from lvgl.

kisvegabor avatar kisvegabor commented on June 25, 2024

Ideally there should be no inclusion of any c++ code into any public C header files. If this is done it trips things up with both the documentation and possibly in binding code generation.

There shouldn't be. lv_lottie.h contains only C things. Or are we leaking C++ to headers somewhere else?

from lvgl.

lvgl-bot avatar lvgl-bot commented on June 25, 2024

We need some feedback on this issue.

Now we mark this as "stale" because there was no activity here for 14 days.

Remove the "stale" label or comment else this will be closed in 7 days.

from lvgl.

lvgl-bot avatar lvgl-bot commented on June 25, 2024

As there was no activity here for a while we close this issue. But don't worry, the conversation is still here and you can get back to it at any time.

So feel free to comment if you have remarks or ideas on this topic.

from lvgl.

Related Issues (20)

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.