diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-19 00:01:59 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-19 00:01:59 +0300 |
commit | 413c3e10b4a046493e648686e8d355db95e8846b (patch) | |
tree | 2848d49b8c8d2b4849e111fd1b1f50f963bec28b /py/obj.h | |
parent | ad229477c65a5372a4cb77d32f366e7deeaa8099 (diff) | |
download | micropython-413c3e10b4a046493e648686e8d355db95e8846b.tar.gz micropython-413c3e10b4a046493e648686e8d355db95e8846b.zip |
py/objtype: instance: Inherit protocol vtable from a base class.
This allows to define an abstract base class which would translate
C-level protocol to Python method calls, and any subclass inheriting
from it will support this feature. This in particular actually enables
recently introduced machine.PinBase class.
Diffstat (limited to 'py/obj.h')
0 files changed, 0 insertions, 0 deletions