emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying Emacs to use the Mac OS X Keychain Services


From: Eli Zaretskii
Subject: Re: Modifying Emacs to use the Mac OS X Keychain Services
Date: Sun, 12 Jun 2011 19:40:16 +0300

> From: Ben Key <address@hidden>
> Date: Sat, 11 Jun 2011 23:18:22 -0500
> 
> I need some advice.  Now that I am providing a `ns-keychain-open'
> function and a `ns-keychain-create' function  I need to know how to
> store a pointer to a SecKeychainRef object in a Lisp_Object variable.
> Can I simply use a type cast?

It's tempting, but I don't think it's TRT.  I think we generally use
pseudovectors for this.  The advantage is that you can then use
standard macros to access it, and developers can use commands in
.gdbinit to debug the code that involves these objects.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]