- docker/desktop-async: PHP 8.6 ZTS TrueAsync fork + ext/async + libuv + the SDL extensions (php86-compat.h, rect.c shutdown fix); game.yaml runtime: async - JumPHP\Async: Tasks, Pool, Task, TaskFailed with three backends: TrueAsync threads, browser Web Workers (one PHP wasm engine each, closures through laravel/serializable-closure), or work spread over the frames - games/hello-threads: fractal computed by a thread pool at 60 FPS - browser STDERR fix (Platform::log), core dumps excluded from builds - docs: AGENTS.md threads section, docs/async.md, README (FR/EN) Co-Authored-By: Claude Opus 5.5 <[email protected]>
15 lines
616 B
C
15 lines
616 B
C
/* Macros removed in PHP 8.6 that the SDL extensions still use (force-included with -include). */
|
|
#ifndef JUMPHP_PHP86_COMPAT_H
|
|
#define JUMPHP_PHP86_COMPAT_H
|
|
#include <stddef.h>
|
|
#ifndef XtOffsetOf
|
|
# define XtOffsetOf(s_type, field) offsetof(s_type, field)
|
|
#endif
|
|
#ifndef WRONG_PARAM_COUNT
|
|
# define ZEND_WRONG_PARAM_COUNT() { zend_wrong_param_count(); return; }
|
|
# define WRONG_PARAM_COUNT ZEND_WRONG_PARAM_COUNT()
|
|
#endif
|
|
/* zval_dtor() and zend_exception_get_default() are gone: same meaning, current names */
|
|
#define zval_dtor(zv) zval_ptr_dtor_nogc(zv)
|
|
#define zend_exception_get_default() zend_ce_exception
|
|
#endif
|