]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdDoubleToInt.h
Feature #1947 Fixed the box allowing to convert a double to an int.
[bbtk.git] / packages / std / src / bbstdDoubleToInt.h
index 1359598947a4f925a0da2fb87dc237c033802a6a..83df9dfda9bb08eccaddfda2bf1fee8f87ed3e40 100644 (file)
@@ -19,7 +19,7 @@ class bbstd_EXPORT DoubleToInt
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
   BBTK_DECLARE_INPUT(In,double);
-  BBTK_DECLARE_OUTPUT(Out,double);
+  BBTK_DECLARE_OUTPUT(Out,int);
   BBTK_PROCESS(Process);
   void Process();
 //===== 
@@ -32,8 +32,8 @@ BBTK_NAME("DoubleToInt");
 BBTK_AUTHOR("Claire Mouton");
 BBTK_DESCRIPTION("Converts a double to an int");
 BBTK_CATEGORY("");
-BBTK_INPUT(DoubleToInt,In,"First input",double,"");
-BBTK_OUTPUT(DoubleToInt,Out,"First output",double,"");
+BBTK_INPUT(DoubleToInt,In,"Double input",double,"");
+BBTK_OUTPUT(DoubleToInt,Out,"Int output",int,"");
 BBTK_END_DESCRIBE_BLACK_BOX(DoubleToInt);
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)