File: config.nextrt.m

package info (click to toggle)
gnustep-base 1.26.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 27,260 kB
  • sloc: objc: 204,878; ansic: 32,160; sh: 157; makefile: 128; cpp: 122; xml: 32
file content (18 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* A function for testing if the compiler is using the NeXT Objective C
   runtime or not.

   With the NeXT runtime this file compiles and links.
   With the GNU runtime, this file does not link.
*/

#include "objc-common.g"

int libobjects_nextrt_checker ()
{
  id o = [[Object alloc] init];

  [o self];
  objc_msgSend(o, @selector(self));

  exit(0);
}