net: Initial import of a packet wrapper for priority_queue#1640
net: Initial import of a packet wrapper for priority_queue#1640miri64 merged 1 commit intoRIOT-OS:masterfrom
Conversation
8218885 to
6cecfa2
Compare
|
Rebased to current master. |
|
I don't quite see the need for |
|
Disguise as in: it adds not more code to the memory but makes the code that uses it easier to read? |
|
How does it achieve that? |
|
It's a collection of inline functions (no additional code) and it does all the required casting for you (interfacing code is easier to read) |
There was a problem hiding this comment.
As usual: I prefer parens.
Edit: Or why not simply Q_LEN. Much easier to read.
|
@Kijewski, do you consider this as a problem? From my side, I would give it an ACK. |
|
I am not opposed to this code, I just don't see much merit. |
|
@authmillenon, merge at will. |
|
Addressed @OlegHahm's comment and go |
net: Initial import of a packet wrapper for priority_queue
Depends on #1639