Method

FoundryAcpConnectionnew_session

unstable since: 1.2

Declaration [src]

DexFuture*
foundry_acp_connection_new_session (
  FoundryAcpConnection* self,
  const char* cwd
)

Description [src]

Creates a new ACP session using session/new.

Available since: 1.2

Parameters

cwd

Type: const char*

An absolute working directory, or NULL for the project root.

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

Return value

Type: DexFuture

A DexFuture that resolves to a FoundryAcpSession.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.