docker/ext/cryo = copie d'ext-cryo (git.jumphp.net/gitjumphp/php-cryo, tools/sync-jumphp.sh). WASM : --enable-cryo --enable-cryo-wasm, fonctions hôte en EM_JS (aucun import wasm ajouté) ; le chargeur web installe Module.cryoHost (métriques et événements -> événements 'cryo' de la page). Desktop : ext-cryo compilée et activée (DESKTOP_REV 5). Co-Authored-By: Claude Opus 5.5 <[email protected]>
15 lines
208 B
C
15 lines
208 B
C
#ifdef HAVE_CONFIG_H
|
|
# include "config.h"
|
|
#endif
|
|
|
|
#include "php_cryo.h"
|
|
#include "cryo_host.h"
|
|
|
|
const char *cryo_platform_name(void)
|
|
{
|
|
#ifdef CRYO_BACKEND_WASM
|
|
return "wasm";
|
|
#else
|
|
return "posix";
|
|
#endif
|
|
}
|