Artifact 7eba5b84fa36d8b4207484ffdd566e97143741e7b709a6e6c7c07cbb05f3095f:
- Executable file mtt/bin/trans/sympar2rtxi_txt2h — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 576) [annotate] [blame] [check-ins using] [more...]
- Executable file mttroot/mtt/bin/trans/sympar2rtxi_txt2h — part of check-in [aca770446b] at 2005-11-16 00:43:15 on branch origin/master — rtxi (user: geraint@users.sourceforge.net, size: 576) [annotate] [blame] [check-ins using]
#! /bin/sh sys=$1 sympar=${sys}_sympar.txt RTXI_H="${sys}_rtxi.h" program=$(basename $0) date=$(date) cat <<EOF > ${RTXI_H} // -*-c++-*- Put Emacs into c++-mode // Generated from $sympar by MTT // using $program // at $date #include <rt.h> #include <default_gui_model.h> class $sys : public DefaultGUIModel { public: $sys(void); virtual ~$sys(void); virtual void execute(void); protected: virtual void update(DefaultGUIModel::update_flags_t); private: EOF gawk ' { printf(" double %s;\n", $1); } ' $sympar >> ${RTXI_H} cat <<EOF >> ${RTXI_H} }; EOF