[ create a new paste ] login | about

Link: http://codepad.org/VxF4pBHg    [ raw code | output | fork ]

kjk - C, pasted on Apr 27:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>

#define _send(MSG, RCV, ...) ({     \
   register oop _r= (RCV);      \
   struct __closure *_c= (struct __closure *)_libid->bind((MSG), _r); \
   (_c->method)((oop)_c, _r, _r, __VA_ARGS__);     \
})

int main(int argc, char **argv)
{
  printf("hello\n");
  return 0;
}


Output:
1
hello


Create a new paste based on this one


Comments: