import gdb-1999-07-12 snapshot
[deliverable/binutils-gdb.git] / gdb / scm-lang.h
index 2f3f4519202d669c95b57eeeadc709d9f5ee311f..6056bcfc7f9c47ea86f03ff855ff4da38f1db929 100644 (file)
 #define SCM_VELTS(x) ((SCM *)SCM_CDR(x))
 #define SCM_CLOSCAR(x) (SCM_CAR(x)-scm_tc3_closure)
 #define SCM_CODE(x) SCM_CAR(SCM_CLOSCAR (x))
+#define SCM_MAKINUM(x) (((x)<<2)+2L)
 
-#ifdef __STDC__                /* Forward decls for prototypes */
+#ifdef __STDC__                        /* Forward decls for prototypes */
 struct value;
 #endif
 
-extern int scm_value_print PARAMS ((struct value *, GDB_FILE*,
+extern int scm_value_print PARAMS ((struct value *, GDB_FILE *,
                                    int, enum val_prettyprint));
 
-extern int scm_val_print PARAMS ((struct type*, char*, CORE_ADDR, GDB_FILE*,
-                                int, int, int, enum val_prettyprint));
+extern int scm_val_print PARAMS ((struct type *, char *, int, CORE_ADDR, GDB_FILE *,
+                                 int, int, int, enum val_prettyprint));
 
 extern LONGEST scm_get_field PARAMS ((LONGEST, int));
 
-extern int scm_scmval_print PARAMS ((LONGEST, GDB_FILE *,
-                                    int, int, int, enum val_prettyprint));
+extern void scm_scmval_print PARAMS ((LONGEST, GDB_FILE *,
+                                     int, int, int, enum val_prettyprint));
 
-extern int is_scmvalue_type PARAMS ((struct type*));
+extern int is_scmvalue_type PARAMS ((struct type *));
 
-extern void scm_printchar PARAMS ((int, GDB_FILE*));
+extern void scm_printchar PARAMS ((int, GDB_FILE *));
 
-struct type *SCM_TYPE;
+extern struct value *scm_evaluate_string PARAMS ((char *, int));
 
+extern struct type *builtin_type_scm;
+
+extern int scm_parse PARAMS ((void));
+
+extern LONGEST scm_unpack PARAMS ((struct type *, char *, enum type_code));
This page took 0.024616 seconds and 4 git commands to generate.