X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/09422b62c65b439c46f0f15178f541ea30e88423..3efa2cadf0557b7c1f944ee89dfef4893aab981d:/src/micropython.py?ds=sidebyside diff --git a/src/micropython.py b/src/micropython.py old mode 100644 new mode 100755 index 7aaaca6..620646f --- a/src/micropython.py +++ b/src/micropython.py @@ -1,3 +1,14 @@ -class const: - def __new__(self, x): - return x +def const(x): + return x + + +def native(f): + return f + + +def viper(f): + raise SyntaxError("invalid micropython decorator") + + +def asm_thumb(f): + raise SyntaxError("invalid micropython decorator") \ No newline at end of file