Skip to content

Removed some of the offending functions #754#755

Merged
saghul merged 1 commit intoquickjs-ng:masterfrom
KaruroChori:remove_collisions
Dec 15, 2024
Merged

Removed some of the offending functions #754#755
saghul merged 1 commit intoquickjs-ng:masterfrom
KaruroChori:remove_collisions

Conversation

@KaruroChori
Copy link
Copy Markdown
Contributor

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

@saghul saghul merged commit 374915a into quickjs-ng:master Dec 15, 2024
Comment thread cutils.c
#endif

void pstrcpy(char *buf, int buf_size, const char *str)
void js__pstrcpy(char *buf, int buf_size, const char *str)
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

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.

3 participants