Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split up util.{hh,cc} #8920

Merged
merged 2 commits into from
Nov 5, 2023
Merged

Commits on Nov 5, 2023

  1. Narrower scope for nativeSystem

    I don't think we need a CPP defininition and a header entry, and this
    way allows constant expression elimination.
    Ericson2314 committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    2678b51 View commit details
    Browse the repository at this point in the history
  2. Split up util.{hh,cc}

    All OS and IO operations should be moved out, leaving only some misc
    portable pure functions.
    
    This is useful to avoid copious CPP when doing things like Windows and
    Emscripten ports.
    
    Newly exposed functions to break cycles:
    
     - `restoreSignals`
     - `updateWindowSize`
    Ericson2314 committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    ac89bb0 View commit details
    Browse the repository at this point in the history