mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Simplify the KVC getter code and make it return structs boxed in NSValues
(Apple-compatible). This is currently slow, because we go via NSInvocation. We could probably make it faster, but I am not inclined to optimise for something that I sincerely hope is a very unusual use case. Richard: Please check I haven't done something silly here... git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31411 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0364f2e365
commit
ec239ebfaf
4 changed files with 102 additions and 373 deletions
|
@ -1,4 +1,4 @@
|
|||
#define INTEGER_MACRO(type, name, ignored) \
|
||||
#define INTEGER_MACRO(encoding, type, name, ignored) \
|
||||
- (type) name ## Value\
|
||||
{\
|
||||
return (type)VALUE;\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue