Skip to content

Instantly share code, notes, and snippets.

@gerdr

gerdr/extop.c Secret

Created October 9, 2013 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerdr/05a30cde96d007e60b66 to your computer and use it in GitHub Desktop.
Save gerdr/05a30cde96d007e60b66 to your computer and use it in GitHub Desktop.
#define MVM_EXTENSION
#include <moar.h>
MVM_EXTOP(P6_add, {
ARG_I64(0) = ARG_I64(1) + ARG_I64(2);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment