LMMS
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1// Copyright 2012-2022 David Robillard <d@drobilla.net>
2// SPDX-License-Identifier: ISC
3
4// The API that a platform implementation must define
5
6#ifndef PUGL_PLATFORM_H
7#define PUGL_PLATFORM_H
8
9#include "types.h"
10
11#include "pugl/pugl.h"
12
14
18
20void
22
26
28void
30
32
33#endif // PUGL_PLATFORM_H
CAdPlugDatabase::CRecord::RecordType type
Definition adplugdb.cpp:93
struct PuglViewImpl PuglView
A drawable region that receives events.
Definition pugl.h:810
uint32_t PuglWorldFlags
Bitwise OR of PuglWorldFlag values.
Definition pugl.h:692
PuglWorldType
The type of a World.
Definition pugl.h:676
struct PuglWorldImpl PuglWorld
Definition pugl.h:670
static LilvWorld * world
Definition lilv_test.c:64
void puglFreeViewInternals(PuglView *view)
Destroy and free view internals (implemented once per platform).
Definition wasm.c:473
void puglFreeWorldInternals(PuglWorld *world)
Destroy and free world internals (implemented once per platform).
Definition wasm.c:486
PUGL_BEGIN_DECLS PuglWorldInternals * puglInitWorldInternals(PuglWorldType type, PuglWorldFlags flags)
Allocate and initialise world internals (implemented once per platform).
Definition wasm.c:24
PuglInternals * puglInitViewInternals(PuglWorld *world)
Allocate and initialise view internals (implemented once per platform).
Definition wasm.c:44
#define PUGL_END_DECLS
Definition pugl.h:47
#define PUGL_BEGIN_DECLS
Definition pugl.h:46
struct PuglInternalsImpl PuglInternals
Platform-specific view internals.
Definition types.h:19
struct PuglWorldInternalsImpl PuglWorldInternals
Platform-specific world internals.
Definition types.h:16