discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GSPredicate


From: Fred Kiefer
Subject: Re: GSPredicate
Date: Sun, 17 Jun 2018 23:48:03 +0200

I was hoping for someone with a working knowledge of blocks to step in here. 
But currently I seem to be the only one operating this mailing list :-)

If you have a look in the file Tests/base/NSArray/blocks.m you will find 
examples on how to write an NSBlock for a compiler that supports it. A very 
simple one would be this:
^() { return YES; }

You should also be able to simulate blocks with gcc, but I am not sure how to 
do this :-(

> Am 16.06.2018 um 08:18 schrieb amon <amon@vnl.com>:
> 
> Yes, I found the macro. What is missing is a usage example
> for the user documentation.
> 
> Without having to decompile the macro, how would a user figure
> out how to actually use it?
> 
> I'd love to be pointed at some example code. I'm much more
> likely to use a feature that doesn't require me to reverse
> engineer and guess from source.




reply via email to

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