Skip to content

Add accessors for the various depth tables. #554

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

Merged
merged 1 commit into from
Feb 3, 2016

Conversation

brendandburns
Copy link
Contributor

Follow on to #551

@xlz I had to add size_t *len to the accessors since there is no good way to get the lengths out of the library without moving around things and declaring a new constant for sizeof(P0TableResponse)

Let me know if you have a preferred alternate approach.

@brendandburns
Copy link
Contributor Author

that's ok with me, if that's your preference. It does imply copying the data, but since this is one-off (and not that big) that doesn't bother me.

I can do that if you prefer.

@xlz
Copy link
Member

xlz commented Feb 3, 2016

Alright then keep the pointers. There is no point in doing the extra copy.

@brendandburns
Copy link
Contributor Author

Comment addressed. please take another look.

thanks!
--brendan

@xlz
Copy link
Member

xlz commented Feb 3, 2016

Looks fine. Build tests fine.

xlz added a commit that referenced this pull request Feb 3, 2016
dump: Add accessors for the various depth tables.
@xlz xlz merged commit 548391e into OpenKinect:master Feb 3, 2016
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.

2 participants