Function Macro

PurplePROTOCOL_IMPLEMENTS

unstable since: 3.0

Declaration [src]

#define PURPLE_PROTOCOL_IMPLEMENTS (
  protocol,
  IFACE,
  func
)

Description [src]

Checks if a protocol plugin implements an interface and a specific function in the interface.

Available since: 3.0

This function is not directly available to language bindings.

Parameters

protocol

Type: -

The protocol in which to check.

IFACE

Type: -

The interface name in caps. e.g. CLIENT.

func

Type: -

The function to check.