From f14247891dfda7e971d57856f89c02e7fdd39d9d Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sylvester.joosten@gmail.com>
Date: Fri, 8 Apr 2016 15:31:10 -0400
Subject: [PATCH] exposed PYEDIT() to cleanup PYLIST results

---
 pythia6m/pythia6/pythia6.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pythia6m/pythia6/pythia6.h b/pythia6m/pythia6/pythia6.h
index 17b3fce..5254ee9 100644
--- a/pythia6m/pythia6/pythia6.h
+++ b/pythia6m/pythia6/pythia6.h
@@ -38,6 +38,14 @@ void pylist_(int* mlist);
     pylist_(&mlist_);                                                          \
   }
 
+// cleanup event info
+void pyedit_(int* medit);
+#define PYEDIT(medit)                                                          \
+  {                                                                            \
+    int medit_ = medit;                                                        \
+    pyedit_(&medit_);                                                           \
+  }
+
 #ifdef __cplusplus
 }
 #endif
-- 
GitLab