Skip to content

Instantly share code, notes, and snippets.

@cjbrigato
Last active October 13, 2016 04:00
Show Gist options
  • Select an option

  • Save cjbrigato/dd00871607b3c982f65a3ba27ccbbd87 to your computer and use it in GitHub Desktop.

Select an option

Save cjbrigato/dd00871607b3c982f65a3ba27ccbbd87 to your computer and use it in GitHub Desktop.
// nestable void in -> void out
void* *(*any_to_byte)(void * a){
byte_t a_asbyte = *((uint8_t*)a);
return a_asbyte;
}
//total transtype
typedef *(*any_to_byte)(void *) transtype;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment