|
|
@@ -361,6 +361,13 @@ size_t NCDVal_StringLength (NCDValRef string);
|
|
|
void NCDVal_IdStringGet (NCDValRef idstring, NCD_string_id_t *out_string_id,
|
|
|
NCDStringIndex **out_string_index);
|
|
|
|
|
|
+/**
|
|
|
+ * Returns the string ID of an ID-string.
|
|
|
+ * The value given must be an ID-string value (which can be determined via
|
|
|
+ * {@link NCDVal_IsIdString}).
|
|
|
+ */
|
|
|
+NCD_string_id_t NCDVal_IdStringId (NCDValRef idstring);
|
|
|
+
|
|
|
/**
|
|
|
* Determines if the string value has any null bytes in its contents,
|
|
|
* i.e. that length > strlen().
|