This commit is contained in:
blueloveTH 2024-06-16 01:29:15 +08:00
parent 1f5e69972a
commit b63ae3741d
3 changed files with 11 additions and 11 deletions

View File

@ -1,13 +1,13 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include "pocketpy/objects/pyvar.h"
#include "pocketpy/common/vector.h"
#ifdef __cplusplus
extern "C" {
#endif
/** @brief `pkpy_Dict` is the Dict type in Python */
typedef struct {
int count; /** number of elements in the dictionary */

View File

@ -1,12 +1,12 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include <stdint.h>
/**
* @brief A python value in pocketpy.
*/

View File

@ -1,13 +1,13 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include "pocketpy/common/str.h"
#include "pocketpy/common/vector.h"
#ifdef __cplusplus
extern "C" {
#endif
enum CompileMode { EXEC_MODE, EVAL_MODE, REPL_MODE, JSON_MODE, CELL_MODE };
struct pkpy_SourceData {