utils 按作用拆成 log/macros/memory 三个模块
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "base/memory.h"
|
||||
#include "core/backend.h"
|
||||
#include "core/types.h"
|
||||
#include "utils.h"
|
||||
|
||||
static inline int32_t right(rect_t a) { return a.x + a.width; }
|
||||
static inline int32_t bottom(rect_t a) { return a.y + a.height; }
|
||||
|
||||
@@ -12,8 +12,9 @@
|
||||
#include <xcb/xproto.h>
|
||||
|
||||
#include "backend/output_utils.h"
|
||||
#include "base/log.h"
|
||||
#include "base/memory.h"
|
||||
#include "core/types.h"
|
||||
#include "utils.h"
|
||||
|
||||
struct backend_t {
|
||||
xcb_connection_t *conn;
|
||||
|
||||
Reference in New Issue
Block a user