Gjsify LogoGjsify Logo

Index

Variables

BACKEND_PERCENTAGE_INVALID: number

The unknown percentage value

TRANSACTION_ALL_BACKEND_SIGNALS: number
TRANSACTION_NO_BACKEND_SIGNALS: number

Functions

  • directory_remove_contents(directory: string): boolean
  • hint_enum_from_string(hint: string): HintEnum
  • hint_enum_to_string(hint: HintEnum): string
  • plugin_get_description(): string
  • strlen(text: string, len: number): number
  • This function is a much safer way of doing strlen as it checks for NULL and a stupidly long string.

    Parameters

    • text: string

      The text to check

    • len: number

      The maximum length of the string

    Returns number

  • strtoint(text: string, value: number): boolean
  • Converts a string into a signed integer value in a safe way.

    Parameters

    • text: string

      The text the convert

    • value: number

      The return numeric return value

    Returns boolean

  • strtouint(text: string, value: number): boolean
  • Converts a string into a unsigned integer value in a safe way.

    Parameters

    • text: string

      The text the convert

    • value: number

      The return numeric return value

    Returns boolean

  • strtouint64(text: string, value: number): boolean
  • Converts a string into a unsigned integer value in a safe way.

    Parameters

    • text: string

      The text the convert

    • value: number

      The return numeric return value

    Returns boolean

  • strzero(text: string): boolean
  • This function is a much safer way of doing "if (strlen (text) == 0))" as it does not rely on text being NULL terminated. It's also much quicker as it only checks the first byte rather than scanning the whole string just to verify it's not zero length.

    Parameters

    • text: string

      The text to check

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method