Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVCD::subscribe [OK] #45

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

nikitakit
Copy link
Contributor

new pull request because I can't push to eldon's fork

((uint16_t*) msg)[1] = svcid;
((uint16_t*) msg)[2] = attrid;
((uint16_t*) msg)[3] = ivkid;
lua_pushlstring(L, &(msg[1]), 7);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for groups wanting to solve the alignment problem, this is what I was suggesting. The 16 bit writes will still be word aligned because byte 0 is used as padding. Good job.

@immesys
Copy link
Contributor

immesys commented Mar 2, 2015

looks good to me.

@immesys immesys changed the title SVCD::subscribe, revised SVCD::subscribe [OK] Mar 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants