Skip to content

Instantly share code, notes, and snippets.

@Orvid
Orvid / ext_Ptr.cpp
Last active June 15, 2016 16:30 — forked from ng420/ext_Ptr.cpp
#include "hphp/runtime/ext/extension.h"
#include "hphp/runtime/base/execution-context.h"
#include "hphp/runtime/vm/native-data.h"
void add(int *x, int *y, int *result) {
*result = *x + *y;
}
namespace HPHP {