1
0
mirror of synced 2026-02-26 06:47:58 +08:00
Files
SnowFlake-IdGenerator/C/source/YitIdHelper.h
2021-03-27 22:00:52 +08:00

16 lines
368 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 版权属于yitter(yitter@126.com)
* 开源地址https://gitee.com/yitter/idgenerator
*/
#pragma once
#include "idgen/IdGenOptions.h"
__declspec(dllexport) void __stdcall SetIdGenerator(IdGeneratorOptions options);
__declspec(dllexport) void __stdcall SetWorker(uint32_t workerId);
__declspec(dllexport) uint64_t __stdcall NextId();