Skip to content

feat: expose frankenphp_thread_index() to C extensions - #2717

Open
nickchomey wants to merge 3 commits into
php:mainfrom
nickchomey:fix-frankenphp_thread_index
Open

nickchomey wants to merge 3 commits into
php:mainfrom
nickchomey:fix-frankenphp_thread_index

Conversation

@nickchomey

Copy link
Copy Markdown

commit 52e1932 in #2305 removed the duplicate frankenphp_thread_index from both frankenphp.c and frankenphp.h.

However, there wasn't actually a duplicate in frankenphp.h, so there's no export for frankenstate, frankenasync etc to use

Also, the frankenphp_thread_index that stayed in frankenphp.c has static inline, whereas the PR originally did not. So, nothing outside that file can call it.

This PR makes the changes that #2305 originally intended. Not sure if that conflicts with anything though.

Comment thread frankenphp.h
Signed-off-by: nickchomey <88559987+nickchomey@users.noreply.github.com>

@henderkes henderkes left a comment

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.

after clang format

@nickchomey

Copy link
Copy Markdown
Author

issue was a trailing space in the new comment. fixed with clang-format. CI running now

This branch has not been deployed

No deployments
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.

4 participants