aboutsummaryrefslogtreecommitdiffstats
path: root/src/stub.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 21:09:27 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 21:09:27 +0100
commit1c365945ed2ebd5b9f54eb0c8c5c1c6d97cad712 (patch)
tree4b77266a9ce3e2a11b59bbd2754869c6ee1d172b /src/stub.h
parenta92a194b4fc64e0cfa4a88a59e261f236414d61c (diff)
downloadpugl-1c365945ed2ebd5b9f54eb0c8c5c1c6d97cad712.tar.gz
pugl-1c365945ed2ebd5b9f54eb0c8c5c1c6d97cad712.tar.bz2
pugl-1c365945ed2ebd5b9f54eb0c8c5c1c6d97cad712.zip
Simplify clang-format configuration and format all code
Diffstat (limited to 'src/stub.h')
-rw-r--r--src/stub.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/stub.h b/src/stub.h
index 36d7364..e61085c 100644
--- a/src/stub.h
+++ b/src/stub.h
@@ -24,45 +24,45 @@ PUGL_BEGIN_DECLS
static inline PuglStatus
puglStubConfigure(PuglView* view)
{
- (void)view;
- return PUGL_SUCCESS;
+ (void)view;
+ return PUGL_SUCCESS;
}
static inline PuglStatus
puglStubCreate(PuglView* view)
{
- (void)view;
- return PUGL_SUCCESS;
+ (void)view;
+ return PUGL_SUCCESS;
}
static inline PuglStatus
puglStubDestroy(PuglView* view)
{
- (void)view;
- return PUGL_SUCCESS;
+ (void)view;
+ return PUGL_SUCCESS;
}
static inline PuglStatus
puglStubEnter(PuglView* view, const PuglEventExpose* expose)
{
- (void)view;
- (void)expose;
- return PUGL_SUCCESS;
+ (void)view;
+ (void)expose;
+ return PUGL_SUCCESS;
}
static inline PuglStatus
puglStubLeave(PuglView* view, const PuglEventExpose* expose)
{
- (void)view;
- (void)expose;
- return PUGL_SUCCESS;
+ (void)view;
+ (void)expose;
+ return PUGL_SUCCESS;
}
static inline void*
puglStubGetContext(PuglView* view)
{
- (void)view;
- return NULL;
+ (void)view;
+ return NULL;
}
PUGL_END_DECLS