Skip to content
\n
\n \n\n \n \n \n \n
//gravity_value_r\t\t\tinames;\t\t\t // ivar names
\n
\n
\n

\n

and I see this function to set values, but the key argument doesn't appear to be used for anything.
\n[Edit] this function is for expanding the ivar array and getting back it's count.
\n

\n
\n

\n gravity/src/shared/gravity_value.c\n

\n

\n Line 211\n in\n f9e95a4\n

\n
\n
\n \n\n \n \n \n \n
int16_t gravity_class_add_ivar (gravity_class_t *c, const char *identifier) {
\n
\n
\n
\nIs it possible to retrieve an ivar value by it's key, or only by index?

","upvoteCount":1,"answerCount":4,"acceptedAnswer":{"@type":"Answer","text":"

Hello @STREGAsGate, can you please describe me what are you trying to do?

","upvoteCount":1,"url":"https://github.com/marcobambini/gravity/discussions/398#discussioncomment-4440513"}}}
Discussion options

You must be logged in to vote

Hello @STREGAsGate, can you please describe me what are you trying to do?

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@STREGAsGate
Comment options

@STREGAsGate
Comment options

Answer selected by STREGAsGate
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant