src/low-level/bearlibterminal.swig @ 4fce923d387e
Particles!
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 11 Apr 2017 22:38:45 +0000 |
parents |
05bcf3c72a27 |
children |
8e35ed93d731 |
%module bearlibterminal
%insert("lisphead") %{
(cl:in-package :bearlibterminal/low-level)
(cffi:defctype color :uint)
(cffi:define-foreign-library bearlibterminal
(:darwin "lib/libBearLibTerminal.dylib"))
(cffi:use-foreign-library bearlibterminal)
%}
%feature("intern_function","1");
%feature("export");
%typemap(cin) color_t "color";
%typemap(cout) color_t "color";
%typemap(cin) int8_t* ":string";
%typemap(cout) int8_t* ":string";
%include "src/low-level/include/BearLibTerminal.h"