• extra-classes

    extra-classes

    如果你已经在C语言中实现了一个PHP类,你可以直接将它包含在你的扩展中,在这里进行配置:

    1. {
    2. "extra-classes": [
    3. {
    4. "header": "utls/old_c_class/class.h",
    5. "source": "utils/old_c_class/class.c",
    6. "init": "old_c_class",
    7. "entry": "old_c_class_ce"
    8. }
    9. ]
    10. }