mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
* feat: mercure_publish() PHP function to dispatch Mercure updates * fix stubs for old versions * review * cleanup and fixes
19 lines
345 B
Go
19 lines
345 B
Go
//go:build nomercure
|
|
|
|
package frankenphp
|
|
|
|
// #include <stdint.h>
|
|
// #include <php.h>
|
|
import "C"
|
|
import (
|
|
"unsafe"
|
|
)
|
|
|
|
type mercureContext struct {
|
|
}
|
|
|
|
//export go_mercure_publish
|
|
func go_mercure_publish(_ C.uintptr_t, _ *C.struct__zval_struct, _ unsafe.Pointer, _ bool, _, _ unsafe.Pointer, _ uint64) (*C.zend_string, C.short) {
|
|
return nil, 3
|
|
}
|