GithubHelp home page GithubHelp logo

Comments (7)

 avatar commented on July 23, 2024

omg all these issues and workarounds coming just because someone refused to name functions ForKernel and ForDriver

from vita-headers.

Princess-of-Sleeping avatar Princess-of-Sleeping commented on July 23, 2024

Anyway, we propose to separate the header for each library

from vita-headers.

 avatar commented on July 23, 2024

Feasible but not optimal:

  • SCE uses sysmem.h, not per library
  • if you have 2 functions using same struct, where do you define the struct ? In a 3rd header ? That would make us alway need sysmem.h + sysmem_for_xxx.h
  • to keep compatibility with current homebrews, it is better to keep using ONLY sysmem.h

from vita-headers.

Princess-of-Sleeping avatar Princess-of-Sleeping commented on July 23, 2024

If there are two functions with the same structure, they are defined in types.h.
If sysmem_for_xxx.h is not optimal, it is necessary to separate ForDriver and ForKernel functions with comments etc. in sysmem.h for easy understanding.

from vita-headers.

DaveeFTW avatar DaveeFTW commented on July 23, 2024

@noname120 is it possible to add the second lib to the header?

from vita-headers.

devnoname120 avatar devnoname120 commented on July 23, 2024

If your question is about doxygen then yes:

ALIASES += projectlib{1}="Link the library to the executable:\n\code \1 \endcode \n"

You might want/need to change these lines however:

vita-headers/docs/Doxyfile

Lines 249 to 251 in 837b75e

ALIASES += usage{1}="\projectstart \projectinc{\1} \projectend"
ALIASES += usage{2}="\projectstart \projectinc{\1} \projectlib{\2} \projectend"
ALIASES += usage{3}="\projectstart \projectinc{\1} \projectlib{\2} \projectmod{\3} \projectend"

from vita-headers.

Princess-of-Sleeping avatar Princess-of-Sleeping commented on July 23, 2024

From now on, this is how avoid problems.
bc5965e#diff-2bd655329132139b217e744348ab8c43da998c5d8db036121dd6c2d5f0383c7cR6

Unless there is an innovative alternative, this issue will not resume.
Thanks.

from vita-headers.

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.