C strings must be null-terminated
(s string)
| 203 | |
| 204 | // C strings must be null-terminated |
| 205 | func (thread *phpThread) pinCString(s string) *C.char { |
| 206 | return thread.pinString(s + "\x00") |
| 207 | } |
| 208 | |
| 209 | func (*phpThread) updateContext(isWorker bool) { |
| 210 | C.frankenphp_update_local_thread_context(C.bool(isWorker)) |
no test coverage detected