mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-27 08:24:05 +02:00
refactor extract vec
This commit is contained in:
parent
ccb0161f18
commit
6808deeca2
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "collection.h"
|
||||
#include "vec.h"
|
||||
|
||||
#define DEFINE_KV_MAP(KEY, VALUE, MAP_TYPE, FN_PREFIX) \
|
||||
typedef KEY MAP_TYPE##Key; \
|
||||
|
@ -1,10 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "../util/attrs.h"
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define MAYBE_UNUSED __attribute__((unused))
|
||||
|
||||
#define DECLARE_VEC_TYPE(TYPE, VEC_TYPE, FN_PREFIX, FN_SPECIFIER) \
|
||||
typedef TYPE VEC_TYPE##T; \
|
||||
typedef struct { \
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../collections/collection.h"
|
||||
#include "../collections/vec.h"
|
||||
#include "../models/models.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../collections/collection.h"
|
||||
#include "../collections/vec.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
#define MAX_HEADER_BUFFER_SIZE 65536
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../collections/collection.h"
|
||||
#include "../collections/vec.h"
|
||||
#include "client_connection.h"
|
||||
#include "http.h"
|
||||
#include "packet.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "json.h"
|
||||
#include "../collections/collection.h"
|
||||
#include "../collections/vec.h"
|
||||
#include "../util/str.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../collections/collection.h"
|
||||
#include "../collections/vec.h"
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../collections/collection.h"
|
||||
#include "../collections/vec.h"
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user