changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > demo / ffi.lisp

changeset 10: 79737134254d
parent: bebb76da449c
child: 1fedeaa5bfc5
author: ellis <ellis@rwest.io>
date: Fri, 12 May 2023 22:58:05 -0400
permissions: -rw-r--r--
description: messing with UI and rust codegen
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))))