micropython

Annotated lib/native.py

672:b8d9d6b49bf0
2013-07-05 Paul Boddie Added some ideas. syspython-as-target
paul@431 1
#!/usr/bin/env python
paul@431 2
paul@431 3
"""
paul@431 4
Native library functions.
paul@431 5
paul@431 6
Copyright (C) 2011 Paul Boddie <paul@boddie.org.uk>
paul@431 7
paul@431 8
This program is free software; you can redistribute it and/or modify it under
paul@431 9
the terms of the GNU General Public License as published by the Free Software
paul@431 10
Foundation; either version 3 of the License, or (at your option) any later
paul@431 11
version.
paul@431 12
paul@431 13
This program is distributed in the hope that it will be useful, but WITHOUT
paul@431 14
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
paul@431 15
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
paul@431 16
details.
paul@431 17
paul@431 18
You should have received a copy of the GNU General Public License along with
paul@431 19
this program.  If not, see <http://www.gnu.org/licenses/>.
paul@431 20
"""
paul@431 21
paul@431 22
def _int_add(self, other): pass
paul@431 23
def _int_sub(self, other): pass
paul@431 24
def _int_mul(self, other): pass
paul@431 25
def _int_div(self, other): pass
paul@431 26
def _int_mod(self, other): pass
paul@431 27
def _int_pow(self, other): pass
paul@431 28
def _int_and(self, other): pass
paul@431 29
def _int_or(self, other): pass
paul@431 30
def _int_xor(self, other): pass
paul@431 31
paul@431 32
def _int_rsub(self, other): pass
paul@431 33
def _int_rdiv(self, other): pass
paul@431 34
def _int_rmod(self, other): pass
paul@431 35
def _int_rpow(self, other): pass
paul@431 36
paul@431 37
def _int_lt(self, other): pass
paul@431 38
def _int_gt(self, other): pass
paul@431 39
def _int_eq(self, other): pass
paul@431 40
paul@431 41
def _str_add(self, other): pass
paul@431 42
def _str_lt(self, other): pass
paul@431 43
def _str_gt(self, other): pass
paul@431 44
def _str_eq(self, other): pass
paul@431 45
paul@431 46
# vim: tabstop=4 expandtab shiftwidth=4