mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
16 lines
244 B
Mathematica
16 lines
244 B
Mathematica
|
#include <remote/NXConnection.h>
|
||
|
#include <objc/List.h>
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
id s = [[List alloc] init];
|
||
|
id c;
|
||
|
|
||
|
[s addObject:[Object new]];
|
||
|
|
||
|
c = [NXConnection registerRoot:s withName:"nxserver"];
|
||
|
[c run];
|
||
|
|
||
|
exit(0);
|
||
|
}
|