Skip to content

Instantly share code, notes, and snippets.

View JohnScience's full-sized avatar

Dmitrii - Demenev JohnScience

View GitHub Profile
@kevinswiber
kevinswiber / interop.go
Created July 26, 2016 17:22
Interop file for using libnode from Golang.
package interop
/*
#cgo CFLAGS: -I${SRCDIR}/../
#cgo LDFLAGS: -L${SRCDIR}/../ -lhello
#include <stdlib.h>
#include <string.h>
#include <node_c.h>
static char** create_argv_array(int array_size) {