Constructor

Cog.Shell.new

Declaration [src]

CogShell*
cog_shell_new (
  const char* name
)

Description [src]

Creates a new shell.

Parameters

name const char*
 

Name of the shell.

 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string

Return value

Returns: CogShell

A new shell instance.

Ownership of the data is transferred to the caller