Skip to content

Instantly share code, notes, and snippets.

@fracek
Created May 1, 2014 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fracek/11449970 to your computer and use it in GitHub Desktop.
Save fracek/11449970 to your computer and use it in GitHub Desktop.
/* Ignoring declaration for {<variable-declaration> #x00998EE0} "mailimap-extension-acl"*/
define C-pointer-type <clistcell-s*> => <clistcell-s>;
define C-struct <clistcell-s>
slot clistcell_s$data :: <C-void*>;
slot clistcell_s$previous :: <clistcell-s*>;
slot clistcell_s$next :: <clistcell-s*>;
end;
define constant <clistcell> = <clistcell-s>;
define C-pointer-type <clistcell*> => <clistcell>;
define C-subtype <clist-s> (<sequence>) end;
define C-subtype <_clist> (<clist-s>) end;
define constant <clist> = <_clist>;
define C-pointer-type <clist*> => <clist>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment