Kernel: add support for Windows

This commit is contained in:
李通洲
2022-10-08 18:29:23 +08:00
parent af6b7dd81b
commit 8387d8651e
5 changed files with 83 additions and 4 deletions
+18
View File
@@ -0,0 +1,18 @@
#pragma once
#ifndef FF_INCLUDED_detection_kernel_kernel
#define FF_INCLUDED_detection_kernel_kernel
#include "fastfetch.h"
typedef struct FFKernelResult
{
FFstrbuf sysname;
FFstrbuf release;
FFstrbuf version;
FFstrbuf error;
} FFKernelResult;
void ffDetectKernel(FFinstance* instance, FFKernelResult* result);
#endif