Skip to content

Instantly share code, notes, and snippets.

@tov
tov / rectype.c
Created September 3, 2019 17:36
Isorecursive function type in C
#include <stdio.h>
typedef struct rec rec_t;
typedef rec_t(*ptr_t)();
struct rec
{
ptr_t ptr;
};

Keybase proof

I hereby claim:

  • I am tov on github.
  • I am tov (https://keybase.io/tov) on keybase.
  • I have a public key ASD74JZtJY0so3mEzAKFvwQNmtMjwHdCjn8qNRqjLrfybQo

To claim this, I am signing this object: