diff options
author | Sunil Shetye | 2018-06-18 17:08:56 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-18 17:08:56 +0530 |
commit | 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (patch) | |
tree | 6ae63f7633d80f9a70be43ebe789eb0c3a3ec364 /js/Sources/READC_f.js | |
parent | 8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff) | |
download | sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2 sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip |
change order of functions
Diffstat (limited to 'js/Sources/READC_f.js')
-rw-r--r-- | js/Sources/READC_f.js | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js index a3e6dad6..fb30dabc 100644 --- a/js/Sources/READC_f.js +++ b/js/Sources/READC_f.js @@ -1,5 +1,35 @@ /* autogenerated from "macros/Sources/READC_f.sci" */ function READC_f() { +READC_f.prototype.define = function READC_f() { +frmt="d "; +fname="foo"; +lunit=0; +N=20; +M=1; +rpar=[]; +tmask=0; +swap=0; +offset=1; +outmask=1; +ievt=0; +nout=size(outmask,"*"); +ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask]; +model=scicos_model(); +model.sim=list("readc",2); +model.out=nout; +model.evtin=1; +model.evtout=[]; +model.dstate=[1,1,lunit,zeros(N*M,1)]; +model.ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask]; +model.blocktype="d"; +model.firing=-1; +model.dep_ut=[false,false]; +exprs=["[]",sci2exp(outmask),fname,frmt,string(M),string(N),string(offset),string(swap)]; +gr_i=[]; +x=standard_define([4,2],model,exprs,gr_i); +} +READC_f.prototype.details = function READC_f() { +} READC_f.prototype.get = function READC_f() { } READC_f.prototype.set = function READC_f() { @@ -84,34 +114,4 @@ break } } } -READC_f.prototype.define = function READC_f() { -frmt="d "; -fname="foo"; -lunit=0; -N=20; -M=1; -rpar=[]; -tmask=0; -swap=0; -offset=1; -outmask=1; -ievt=0; -nout=size(outmask,"*"); -ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask]; -model=scicos_model(); -model.sim=list("readc",2); -model.out=nout; -model.evtin=1; -model.evtout=[]; -model.dstate=[1,1,lunit,zeros(N*M,1)]; -model.ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask]; -model.blocktype="d"; -model.firing=-1; -model.dep_ut=[false,false]; -exprs=["[]",sci2exp(outmask),fname,frmt,string(M),string(N),string(offset),string(swap)]; -gr_i=[]; -x=standard_define([4,2],model,exprs,gr_i); -} -READC_f.prototype.details = function READC_f() { -} } |