Re: [Pyobjc-dev] Security framework and objective.metadata
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2017-03-05 13:40:17
|
> On 5 Mar 2017, at 12:22, Mosen <mo...@fa...> wrote: > > Hi there. > I have been using PyObjC for some time and up until recently i was using > ctypes for the Security framework. > > I managed to generate a wrapper for Security by modifying > objective.metadata slightly so that it wouldn't attempt to parse a > linked list recursively in the Security headers. My solution is really > hacky though (basically if this struct contains a member that is this > struct we dont recurse into it). That’s great news. The Security framework has been on my TODO list for a long time, having bindings for that framework would be very useful for some users. > > I'd be happy to work with someone to come up with a cleaner solution as > I'm not very familiar with objective.metadata, clang, etc etc. I don’t think anyone is really familiar with that tooling, the codebase isn’t as clear as I’d like and too be honest is mostly written for one user. I’ve tried to keep to tooling usable for others, but didn’t really expect that anyone else would actually use it :-) > > Also will send a PR request for objective.metadata command line usage > documentation. It look a few minutes to study the existing structure so > I thought it was worth writing up. > > Thanks Ronald and devs. > Mosen. Ronald > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |