Not part of the sources
[deliverable/binutils-gdb.git] / gdb / scm-lang.h
index 2f3f4519202d669c95b57eeeadc709d9f5ee311f..878a2ab20eab0a7973a4bce67260e836501ab340 100644 (file)
@@ -20,6 +20,7 @@
 #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 */
 struct value;
@@ -28,17 +29,22 @@ struct value;
 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*,
+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 *,
+extern void scm_scmval_print PARAMS ((LONGEST, GDB_FILE *,
                                     int, int, int, enum val_prettyprint));
 
 extern int is_scmvalue_type PARAMS ((struct type*));
 
 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.02368 seconds and 4 git commands to generate.