src/low-level/bearlibterminal.swig @ 51118a74bea4
God dammit BitBucket
Fixes https://github.com/sjl/cl-blt/issues/1
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 24 Nov 2017 14:28:52 -0500 |
parents |
e0811ef78cce |
children |
da7d65a30255 |
%module bearlibterminal
%insert("lisphead") %{
(cl:in-package :bearlibterminal/low-level)
(cffi:defctype color :uint)
(cffi:define-foreign-library blt:bearlibterminal
(:darwin (:or "Contents/Resources/libBearLibTerminal.dylib"
"libBearLibTerminal.dylib"
"lib/libBearLibTerminal.dylib")))
(cffi:use-foreign-library blt: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"