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

fmt/print: improve print RE_VA_ARG debugging #925

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented Aug 30, 2023

#include <re.h>

int main(void)
{
	re_printf("hello %s\n");

	return 0;
}

Output: print: Format: "hello %s<-- NO ARG

#include <re.h>

int main(void)
{
	re_printf("hello %d\n", 1LL);

	return 0;
}

Output: print: Format: "hello %d<-- SIZE ERROR

@sreimers sreimers merged commit af26dea into main Aug 30, 2023
@sreimers sreimers deleted the improve_print_debug branch August 30, 2023 16:08
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.

1 participant