Skip to content

Functions in the HANDMADE_MATH_IMPLEMENTATION section are missing the HMM_PREFIX(...) macro #119

Closed

Description

@GsxCasper

As mentioned in the title, all the functions defined within HANDMADE_MATH_IMPLEMENTATION do hardcode the HMM_ prefix (for example HMM_Rotate instead of HMM_PREFIX(Rotate)).
This causes linking to fail to those who define HMM_PREFIX and use those functions.

(btw I tried to open a pr with the fix but I don't have permission to push. I'm not sure if I need to be whitelisted to this repo in order to push?)

Activity

  1. changed the title [-]Functions in the `HANDMADE_MATH_IMPLEMENTATION` section are missing the `HMM_PREFIX(...)` macro[/-] [+]Functions in the HANDMADE_MATH_IMPLEMENTATION section are missing the HMM_PREFIX(...) macro[/+] on Jul 8, 2020
  2. bvisness commented on Jul 8, 2020

    @bvisness
    Member

    Sorry about that. If you want to fix it up yourself, just make a fork of the repository, push your change there, and then make a pull request. (See https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)

    Otherwise I can fix this up this evening.

  3. GsxCasper commented on Jul 8, 2020

    @GsxCasper
    ContributorAuthor

    Thanks, I thought it was a simple enough change that I could just fix it but I wrongly assumed I'd just create a branch and make a PR from there.

    Thanks for showing me how to do it through forking! Opened #120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions