changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > demo / ffi.lisp

changeset 12: c520966de7fa
parent: 79737134254d
child: 1fedeaa5bfc5
author: ellis <ellis@rwest.io>
date: Mon, 15 May 2023 21:40:24 -0400
permissions: -rw-r--r--
description: added quiche.h and some ui work
1 (in-package :demo)
2 
3 (define-foreign-library demo
4  (:win32 (:default "demo"))
5  (t (:default "libdemo")))
6 
7 (defun install-demo-lib (&optional path)
8  (if path
9  (use-foreign-library path)
10  (let ((path (rs-find-dll "libdemo.dylib")))
11  (use-foreign-library path))))