|
From: | Stefan Monnier |
Subject: | Re: Modifying Emacs to use the Mac OS X Keychain Services |
Date: | Wed, 15 Jun 2011 19:26:55 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> The Lisp_Misc_Save_Value holds a void pointer and an integer. Just > provide convenience functions for yourself that take a > Lisp_Misc_Save_Value and set the pointer to the SecKeychainRef or > extract it back out. Use the `SAVE_VALUEP' and `XSAVE_VALUE' macros. That only works if you know for sure that this save_value indeed holds a SecKeychainRef, which is only the case if Elisp can never get its hands on it. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |