Hi all

I had written a gdb macro to dump the string representation of an SEXPREC
type when I realised everything I needed was in inspect.c already in the
typename() function. However, the typename function doesnt handle the RAWSXP
type, so if possible, could the following patch be applied (I've just put in
inline as it is a trivial 1-liner)?

Index: src/main/inspect.c
===================================================================
--- src/main/inspect.c    (revision 52221)
+++ src/main/inspect.c    (working copy)
@@ -63,6 +63,7 @@
     case EXTPTRSXP:    return "EXTPTRSXP";
     case WEAKREFSXP:    return "WEAKREFSXP";
     case S4SXP:        return "S4SXP";
+    case RAWSXP:    return "RAWSXP";
     default:
     return "<unknown>";
     }


Best
-- Rory

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to