mirror of
https://github.com/xhacker-zzz/KgmWasm.git
synced 2024-01-30 00:16:29 +00:00
19 lines
482 B
C++
19 lines
482 B
C++
// KgmWasm.h : Include file for standard system include files,
|
|
// or project specific include files.
|
|
|
|
#pragma once
|
|
|
|
#include <emscripten/bind.h>
|
|
#include <string>
|
|
|
|
namespace em = emscripten;
|
|
|
|
size_t preDec(uintptr_t blob, size_t blobSize, std::string ext);
|
|
void decBlob(uintptr_t blob, size_t blobSize, size_t offset);
|
|
|
|
EMSCRIPTEN_BINDINGS(QmcCrypto)
|
|
{
|
|
em::function("preDec", &preDec, em::allow_raw_pointers());
|
|
em::function("decBlob", &decBlob, em::allow_raw_pointers());
|
|
}
|