<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Consolas"><i><b>Hi folks!</b></i><br>
<br>
Is there a way to get the (meta) information <br>
of structure slots defined by <font color="#000066"><b><i>defcstruct</i></b></font>?<br>
<br>
Consider the following concrete example:<br>
<br>
<font color="#000099"> (defcstruct test<br>
(a :uint)<br>
(b :char :count 10)<br>
(c :pointer))</font><br>
<br>
Is it possible to get info like type, (array-)size <br>
of the slots <font color="#000066"><i><b>a, b</b> </i></font>and
<font color="#000066"><i><b>c</b></i></font> by only introspecting
'<font color="#660000"><i><b>test</b></i></font>'?<br>
Something like<br>
<br>
<font color="#660000">(foreign-slot-type 'test 'a) <font
color="#000066"><i><b>==> :char</b></i></font><br>
(foreign-slot-count 'test 'b) <font color="#000066"><i><b>==>
10</b></i></font></font><br>
<br>
would be very useful!<br>
<br>
Regards<br>
Nik<br>
<br>
<br>
</font>
</body>
</html>