Skip to content

Creating an API to get the value/index size from a 'Type'#391

Merged
msoos merged 1 commit into
stp:masterfrom
aytey:type_size_api
Jan 4, 2021
Merged

Creating an API to get the value/index size from a 'Type'#391
msoos merged 1 commit into
stp:masterfrom
aytey:type_size_api

Conversation

@aytey
Copy link
Copy Markdown
Member

@aytey aytey commented Jan 4, 2021

This PR adds two new API calls:

  • vc_getValueSize
  • vc_getIndexSize

that allow a user to obtain the underlying sizes for a given Type (note: Type is currently just a typedef to void*!).

Signed-off-by: Andrew V. Jones andrewvaughanj@gmail.com

Signed-off-by: Andrew V. Jones <andrewvaughanj@gmail.com>
@msoos
Copy link
Copy Markdown
Member

msoos commented Jan 4, 2021

Wow, amazing work, thank you!

@msoos msoos merged commit 9a59a72 into stp:master Jan 4, 2021
@mikhailramalho
Copy link
Copy Markdown

Thanks for the fix!

Any chance we get a new STP release soon? v2.4 maybe? :)

@aytey
Copy link
Copy Markdown
Member Author

aytey commented Jan 4, 2021

Would 2.3.4 work for you? I'd rather do this after #378 is merged though.

@mikhailramalho
Copy link
Copy Markdown

mikhailramalho commented Jan 4, 2021 via email

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