Method

SysprofCaptureConditionnew_and

Declaration [src]

SysprofCaptureCondition*
sysprof_capture_condition_new_and (
  SysprofCaptureCondition* left,
  SysprofCaptureCondition* right
)

Description [src]

Creates a new SysprofCaptureCondition that requires both left and right to evaluate to TRUE.

This method is not directly available to language bindings.

Parameters

left

Type: SysprofCaptureCondition

An SysprofCaptureCondition.

The instance takes ownership of the data, and is responsible for freeing it.
right

Type: SysprofCaptureCondition

An SysprofCaptureCondition.

The instance takes ownership of the data, and is responsible for freeing it.

Return value

Type: SysprofCaptureCondition

A new SysprofCaptureCondition, or NULL on allocation failure.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.