zephir icon indicating copy to clipboard operation
zephir copied to clipboard

I want the ability to call C functions

Open KingBes opened this issue 4 months ago • 2 comments

Greeting.zep

namespace Utils;

#include "func.h"

class Greeting
{

    public static function say()
    {
        C.hello();
    }

}

func.h

void hello(){

}

KingBes avatar Oct 07 '24 01:10 KingBes