From ceb2e7e5f0b1fc78094fcb6bdf9594cb30b523c1 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 20 Apr 2024 11:53:33 +0800 Subject: [PATCH] some optimize --- include/pocketpy/base64.h | 2 +- include/pocketpy/collections.h | 7 +------ include/pocketpy/csv.h | 2 +- include/pocketpy/dataclasses.h | 2 +- include/pocketpy/easing.h | 2 +- include/pocketpy/io.h | 2 +- include/pocketpy/modules.h | 2 ++ 7 files changed, 8 insertions(+), 11 deletions(-) diff --git a/include/pocketpy/base64.h b/include/pocketpy/base64.h index 44f5f3e8..0bbf6b17 100644 --- a/include/pocketpy/base64.h +++ b/include/pocketpy/base64.h @@ -1,6 +1,6 @@ #pragma once -#include "cffi.h" +#include "bindings.h" namespace pkpy { diff --git a/include/pocketpy/collections.h b/include/pocketpy/collections.h index 446f9da5..35f856f9 100644 --- a/include/pocketpy/collections.h +++ b/include/pocketpy/collections.h @@ -1,11 +1,6 @@ #pragma once -#include "obj.h" -#include "common.h" -#include "memory.h" -#include "str.h" -#include "iter.h" -#include "cffi.h" +#include "bindings.h" namespace pkpy { diff --git a/include/pocketpy/csv.h b/include/pocketpy/csv.h index 8149fd09..87d816c8 100644 --- a/include/pocketpy/csv.h +++ b/include/pocketpy/csv.h @@ -1,6 +1,6 @@ #pragma once -#include "cffi.h" +#include "bindings.h" namespace pkpy { diff --git a/include/pocketpy/dataclasses.h b/include/pocketpy/dataclasses.h index e45b7c25..fe3fcb5f 100644 --- a/include/pocketpy/dataclasses.h +++ b/include/pocketpy/dataclasses.h @@ -1,6 +1,6 @@ #pragma once -#include "cffi.h" +#include "bindings.h" namespace pkpy{ diff --git a/include/pocketpy/easing.h b/include/pocketpy/easing.h index 4b6acacf..1c69f8a1 100644 --- a/include/pocketpy/easing.h +++ b/include/pocketpy/easing.h @@ -1,6 +1,6 @@ #pragma once -#include "cffi.h" +#include "bindings.h" namespace pkpy{ diff --git a/include/pocketpy/io.h b/include/pocketpy/io.h index a987a961..2ef3d74f 100644 --- a/include/pocketpy/io.h +++ b/include/pocketpy/io.h @@ -1,6 +1,6 @@ #pragma once -#include "cffi.h" +#include "bindings.h" namespace pkpy{ unsigned char* _default_import_handler(const char*, int, int*); diff --git a/include/pocketpy/modules.h b/include/pocketpy/modules.h index 155c5f5e..f3ee4415 100644 --- a/include/pocketpy/modules.h +++ b/include/pocketpy/modules.h @@ -1,3 +1,5 @@ +#pragma once + #include "bindings.h" namespace pkpy{