summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-11-13 19:14:20 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2005-11-13 19:14:20 +0000
commit8534aac4073ebe0c689d2a0096c1275b25d10ef6 (patch)
tree9f3d4ba1378d4edae83de47ea84c06c15fbb8e9d /Include
parent1b2991382e93496ba1d6cb5e5ac5437038cfc6b8 (diff)
downloadcpython-8534aac4073ebe0c689d2a0096c1275b25d10ef6.tar.gz
Whoops, checkin consistent versions of *all* files to stop polluting
a bunch of names
Diffstat (limited to 'Include')
-rw-r--r--Include/Python-ast.h4
-rw-r--r--Include/asdl.h7
2 files changed, 4 insertions, 7 deletions
diff --git a/Include/Python-ast.h b/Include/Python-ast.h
index abc5bcba13..9609141c04 100644
--- a/Include/Python-ast.h
+++ b/Include/Python-ast.h
@@ -34,6 +34,7 @@ typedef struct _keyword *keyword_ty;
typedef struct _alias *alias_ty;
+
struct _mod {
enum { Module_kind=1, Interactive_kind=2, Expression_kind=3,
Suite_kind=4 } kind;
@@ -326,6 +327,7 @@ struct _alias {
identifier asname;
};
+
mod_ty Module(asdl_seq * body);
mod_ty Interactive(asdl_seq * body);
mod_ty Expression(expr_ty body);
@@ -388,6 +390,7 @@ arguments_ty arguments(asdl_seq * args, identifier vararg, identifier kwarg,
asdl_seq * defaults);
keyword_ty keyword(identifier arg, expr_ty value);
alias_ty alias(identifier name, identifier asname);
+
void free_mod(mod_ty);
void free_stmt(stmt_ty);
void free_expr(expr_ty);
@@ -402,3 +405,4 @@ void free_excepthandler(excepthandler_ty);
void free_arguments(arguments_ty);
void free_keyword(keyword_ty);
void free_alias(alias_ty);
+
diff --git a/Include/asdl.h b/Include/asdl.h
index 8ad46faf7d..cf059672a7 100644
--- a/Include/asdl.h
+++ b/Include/asdl.h
@@ -44,11 +44,4 @@ void asdl_seq_free(asdl_seq *);
#endif
#define asdl_seq_LEN(S) ((S) == NULL ? 0 : (S)->size)
-/* Routines to marshal the basic types. */
-int marshal_write_int(PyObject **, int *, int);
-int marshal_write_bool(PyObject **, int *, bool);
-int marshal_write_identifier(PyObject **, int *, identifier);
-int marshal_write_string(PyObject **, int *, string);
-int marshal_write_object(PyObject **, int *, object);
-
#endif /* !Py_ASDL_H */