diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-21 21:40:13 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-21 21:40:13 +0000 |
commit | 55baff4c9bcbc001cbb8972c289ebfa356d4665b (patch) | |
tree | bd086f9ddf8c5f2db9642ee04fc382064ebd2029 /unix/qstrdefsport.h | |
parent | 91d457a27752fa125e9c6107bf51c918e021dc95 (diff) | |
download | micropython-55baff4c9bcbc001cbb8972c289ebfa356d4665b.tar.gz micropython-55baff4c9bcbc001cbb8972c289ebfa356d4665b.zip |
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
Diffstat (limited to 'unix/qstrdefsport.h')
-rw-r--r-- | unix/qstrdefsport.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/unix/qstrdefsport.h b/unix/qstrdefsport.h new file mode 100644 index 0000000000..3178f0a826 --- /dev/null +++ b/unix/qstrdefsport.h @@ -0,0 +1,13 @@ +// qstrs specific to this port + +Q(sys) +Q(argv) +Q(open) +Q(rawsocket) +Q(socket) +Q(sockaddr_in) +Q(htons) +Q(inet_aton) +Q(gethostbyname) +Q(getaddrinfo) +Q(rawsocket) |