File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package frankenphp
22
3+ // #cgo nocallback frankenphp_register_bulk
4+ // #cgo nocallback frankenphp_register_variables_from_request_info
5+ // #cgo nocallback frankenphp_register_variable_safe
6+ // #cgo nocallback frankenphp_register_single
7+ // #cgo noescape frankenphp_register_bulk
8+ // #cgo noescape frankenphp_register_variables_from_request_info
9+ // #cgo noescape frankenphp_register_variable_safe
10+ // #cgo noescape frankenphp_register_single
311// #include <php_variables.h>
412// #include "frankenphp.h"
513import "C"
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ package frankenphp
1212//
1313// We also set these flags for hardening: https://github.com/docker-library/php/blob/master/8.2/bookworm/zts/Dockerfile#L57-L59
1414
15+ // #cgo nocallback frankenphp_update_server_context
16+ // #cgo noescape frankenphp_update_server_context
1517// #cgo darwin pkg-config: libxml-2.0
1618// #cgo CFLAGS: -Wall -Werror
1719// #cgo CFLAGS: -I/usr/local/include -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
Original file line number Diff line number Diff line change 11package frankenphp
22
3+ // #cgo nocallback frankenphp_new_main_thread
4+ // #cgo nocallback frankenphp_init_persistent_string
5+ // #cgo noescape frankenphp_new_main_thread
6+ // #cgo noescape frankenphp_init_persistent_string
7+ // #include <php_variables.h>
38// #include "frankenphp.h"
49import "C"
510import (
Original file line number Diff line number Diff line change 11package frankenphp
22
3+ // #cgo nocallback frankenphp_new_php_thread
34// #include "frankenphp.h"
45import "C"
56import (
You can’t perform that action at this time.
0 commit comments