Phoc.Input.get_seat

### Method

# Phoc Inputget_seat

#### Declaration [src]

    PhocSeat*
    phoc_input_get_seat (
      PhocInput* self,
      char* name
    )

#### Description [src]

Looks up a seat by name and if it doesn’t exist creates a new one.

#### Parameters

`name`

  Type: `char*`

  The seats name.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `PhocSeat`

The seat of the given name.

The returned data is owned by the instance.