You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bool jsvIsBasicName(const JsVar *v) { return v && (v->flags&JSV_VARTYPEMASK)>=JSV_NAME_STRING_0 && (v->flags&JSV_VARTYPEMASK)<=JSV_NAME_STRING_MAX; } ///< Simple NAME that links to a variable via firstChild
100
100
/// Names with values have firstChild set to a value - AND NOT A REFERENCE
bool jsvIsNameInt(const JsVar *v) { return v && ((v->flags&JSV_VARTYPEMASK)==JSV_NAME_INT_INT || ((v->flags&JSV_VARTYPEMASK)>=JSV_NAME_STRING_INT_0 && (v->flags&JSV_VARTYPEMASK)<=JSV_NAME_STRING_INT_MAX)); } ///< Is this a NAME pointing to an Integer value
103
103
bool jsvIsNameIntInt(const JsVar *v) { return v && (v->flags&JSV_VARTYPEMASK)==JSV_NAME_INT_INT; }
104
104
bool jsvIsNameIntBool(const JsVar *v) { return v && (v->flags&JSV_VARTYPEMASK)==JSV_NAME_INT_BOOL; }
105
105
/// What happens when we access a variable that doesn't exist. We get a NAME where the next + previous siblings point to the object that may one day contain them
Copy file name to clipboardExpand all lines: src/jsvar.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -429,7 +429,7 @@ extern bool jsvIsName(const JsVar *v); ///< NAMEs are what's used to name a vari
429
429
bool jsvIsBasicName(const JsVar *v); ///< Simple NAME that links to a variable via firstChild
430
430
/// Names with values have firstChild set to a value - AND NOT A REFERENCE
431
431
extern bool jsvIsNameWithValue(const JsVar *v);
432
-
extern bool jsvIsNameInt(const JsVar *v);
432
+
extern bool jsvIsNameInt(const JsVar *v); ///< Is this a NAME pointing to an Integer value
433
433
extern bool jsvIsNameIntInt(const JsVar *v);
434
434
extern bool jsvIsNameIntBool(const JsVar *v);
435
435
/// What happens when we access a variable that doesn't exist. We get a NAME where the next + previous siblings point to the object that may one day contain them
0 commit comments