restructurization

This commit is contained in:
2026-05-28 14:23:39 +03:00
parent aca7e3617d
commit b493b36948
211 changed files with 28 additions and 161 deletions

View File

@@ -0,0 +1,20 @@
#include <stdio.h>
#include <stdint.h>
#define FUNC(arg) _Generic(arg, uint16_t: funcu, int32_t: funci)(arg)
void funcu(uint16_t arg){
printf("uint16_t: %u\n", arg);
}
void funci(int32_t arg){
printf("int32_t: %d\n", arg);
}
int main(){
uint16_t u = 32;
int32_t i = -50333;
FUNC(u);
FUNC(i);
return 0;
}