Damien George
|
56bb636014
|
Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c.
|
11 years ago |
Paul Sokolovsky
|
a88c30c64a
|
unix socket: Add setsockopt() method.
|
11 years ago |
Paul Sokolovsky
|
5d362d3209
|
unix socket: Add few more socket constants.
|
11 years ago |
Paul Sokolovsky
|
db0b282d45
|
unix socket: Store module constants in data structure.
-147 bytes on x86.
|
11 years ago |
Damien George
|
5fa93b6755
|
Second stage of qstr revamp: uPy str object can be qstr or not.
|
11 years ago |
Damien George
|
55baff4c9b
|
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
|
11 years ago |
Paul Sokolovsky
|
f0cfb8cb45
|
Don't preimport socket module.
|
11 years ago |
Paul Sokolovsky
|
fc35aa6828
|
unix socket: Add send() and recv() methods.
CPython _socket actually have only those and doesn't provide stream
interface (higher-level CPython "socket" what adds this).
+516 bytes x86.
|
11 years ago |
Damien George
|
a11ceca807
|
Change int to uint for n_args in function with variable arguments.
|
11 years ago |
Damien George
|
a8a6db2a1d
|
Fix warnings about int/pointer casting.
|
11 years ago |
Paul Sokolovsky
|
fc92608237
|
Add lean ("raw") socket module.
|
11 years ago |