DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

wasm_stub.c (469B)


      1 // Copyright 2012-2022 David Robillard <d@drobilla.net>
      2 // Copyright 2021-2022 Filipe Coelho <falktx@falktx.com>
      3 // SPDX-License-Identifier: ISC
      4 
      5 #include "pugl/stub.h"
      6 
      7 #include "../pugl-upstream/src/stub.h"
      8 
      9 #include "pugl/pugl.h"
     10 
     11 const PuglBackend*
     12 puglStubBackend(void)
     13 {
     14   static const PuglBackend backend = {
     15     puglStubConfigure,
     16     puglStubCreate,
     17     puglStubDestroy,
     18     puglStubEnter,
     19     puglStubLeave,
     20     puglStubGetContext,
     21   };
     22 
     23   return &backend;
     24 }