1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: structs.lisp
6 ;;;; Purpose: Test file for UFFI structures
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Feb 2002
10 ;;;; This file, part of UFFI, is Copyright (c) 2002-2010 by Kevin M. Rosenberg
12 ;;;; *************************************************************************
14 (in-package #:uffi-tests)
16 ;; Compilation failure as reported by Edi Weitz
22 (uffi:def-foreign-type foo-ptr (* foo))
24 ;; tests that compilation worked
26 (with-foreign-object (p 'foo)
32 (uffi:def-foreign-type foo-struct (:struct foo))