Skip to content
New issue

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

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

Already on GitHub? # to your account

Removed some of the offending functions #754 #755

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

KaruroChori
Copy link
Contributor

More work to be done but let's start from these :).

@saghul saghul merged commit 374915a into quickjs-ng:master Dec 15, 2024
59 checks passed
@@ -41,7 +41,7 @@
#pragma GCC visibility push(default)
#endif

void pstrcpy(char *buf, int buf_size, const char *str)
void js__pstrcpy(char *buf, int buf_size, const char *str)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, why 2 underscores?

Copy link
Contributor Author

@KaruroChori KaruroChori Dec 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw several functions generic-sounding down there like js__hrtime_ns using two, so I went with that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a convention Ben and I carried on from libuv and started applying here too.

Double underscore for internal stuff.

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

Successfully merging this pull request may close these issues.

3 participants