Function anj_string_to_objlnk_value

Function Documentation

int anj_string_to_objlnk_value(anj_objlnk_value_t *out, const char *objlnk)

Parse an Objlnk string (e.g., "3:0") into anj_objlnk_value_t.

Note

Unlike the numeric parsers, this function expects a standard null-terminated string.

Parameters:
  • out[out] Output structure.

  • objlnk – null-terminated input string.

Returns:

0 on success, -1 if the input is not a valid Objlnk.