Skip to content

File lib.h

FileList > docs > sandwich_c > lib.h

Go to the source code of this file

Top-level context for the Sandwich library.

  • #include "sandwich_c/export.h"

Public Functions

Type Name
SANDWICH_API void sandwich_lib_context_free (struct SandwichContext * sw)
Free a top-level Sandwich context.
SANDWICH_API struct SandwichContext * sandwich_lib_context_new (void)
Create a top-level Sandwich context.

Public Functions Documentation

function sandwich_lib_context_free

Free a top-level Sandwich context.

SANDWICH_API void sandwich_lib_context_free (
    struct SandwichContext * sw
) 

Parameters:

  • sw Top-level Sandwich context to free.

NULL for sw is allowed.

function sandwich_lib_context_new

Create a top-level Sandwich context.

SANDWICH_API struct SandwichContext * sandwich_lib_context_new (
    void
) 

Returns:

A new top-level Sandwich context.


The documentation for this class was generated from the following file docs/sandwich_c/lib.h