TT_OTYPE_HSIG_ARG_TYPE(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– NAME πŸ’–

Okay bestie, this is tt_otype_hsig_arg_type β€” a library call page, and it returns the data type of an argument of a request signature of an otype. Yes, that whole mouthful. πŸ‘‘

✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
char *tt_otype_hsig_arg_type(
const char *otype,
int sig,
int arg);

🌸 DESCRIPTION 🌸

The tt_otype_hsig_arg_type function returns the data type of the *arg*th argument of the *sig*th request signature of the given otype. It's giving very precise index energy. πŸ’…

  • The otype argument is the object type involved in this operation.
  • The sig argument is the zero-based index into the request signatures of the specified otype.
  • The arg argument is the zero-based index into the arguments of the specified signature.
Zero-based means the first one is index 0, bestie β€” no cap, that's the whole game. πŸŽ€

πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, tt_otype_hsig_arg_type returns the data type of the specified argument. The application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned pointer:

  • TT_OK β€” the operation completed successfully. Slay. ✨
  • TT_ERR_NOMP β€” the ttsession(1) process is not running and the ToolTalk service cannot restart it. Big yikes. 😭
  • TT_ERR_NUM β€” the integer value passed was invalid (out of range). Check ur math, bestie. πŸ’€
  • TT_ERR_OTYPE β€” the specified object type is not the name of an installed object type. Not iconic of it. πŸ™ˆ

🫢 APPLICATION USAGE 🫢

The application should use tt_free(3) to free any data stored in the address returned by the ToolTalk API. Clean up after urself, queen. πŸ§ΉπŸ‘‘

🌈 SEE ALSO 🌈

Tt/tt_c.h - Tttt_c(5), tt_otype_hsig_arg_mode(3), tt_otype_hsig_count(3), tt_otype_hsig_args_count(3), tt_otype_hsig_op(3), tt_ptr_error(3), tt_free(3).


And that's the whole page, bestie β€” footer/source/version/date tea: tt_otype_hsig_arg_type(library call). We're out. πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from