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

TraceLog and TraceLogCallback fixes #387

Merged
merged 4 commits into from
May 15, 2024
Merged

Conversation

JupiterRider
Copy link
Contributor

  • TraceLog() now uses fmt.Sprintf to match the cgo version
  • The varargs are finally implemented for the TraceLogCallback function in purego. I used the wvsprintfA function for that. Microsoft advises to use other ones like for example StringCbVPrintfA, but they are not exported in any dll.

@gen2brain gen2brain merged commit e824a9b into gen2brain:master May 15, 2024
9 checks passed
@gen2brain
Copy link
Owner

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants