summaryrefslogtreecommitdiffstats
path: root/translate.h
diff options
context:
space:
mode:
authorfche <fche>2006-02-25 21:05:46 +0000
committerfche <fche>2006-02-25 21:05:46 +0000
commit16c1c80843a7115253b5f2844c3cda9089a72232 (patch)
treef0810dcf56bd1be77698a1a2ffac5229f9c40ef7 /translate.h
parenta78b2748049f260f365a3161d3aea0b8f9499a2d (diff)
downloadsystemtap-steved-16c1c80843a7115253b5f2844c3cda9089a72232.tar.gz
systemtap-steved-16c1c80843a7115253b5f2844c3cda9089a72232.tar.xz
systemtap-steved-16c1c80843a7115253b5f2844c3cda9089a72232.zip
2006-02-25 Frank Ch. Eigler <fche@elastic.org>
* translate.cxx (var::init): Don't crush string module_params. (emit_global_param): New function, forked out of emit_global, to put module_param calls at the bottom of C file. * translate.h: Corresponding changes.
Diffstat (limited to 'translate.h')
-rw-r--r--translate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/translate.h b/translate.h
index 1c6dc9f6..f756ee62 100644
--- a/translate.h
+++ b/translate.h
@@ -70,6 +70,9 @@ struct unparser
// static TYPE global_NAME;
// static rwlock_t global_NAME_lock;
+ virtual void emit_global_param (vardecl* v) = 0;
+ // module_param_... -- at end of file
+
virtual void emit_functionsig (functiondecl* v) = 0;
// static void function_NAME (context* c);