Revision 1084

trunk/src/nh99/tpl2cpp.lex (revision 1084)
3604 3604
   /* fprintf(fdat,"%s","};\n");*/
3605 3605
    fprintf(fall,"%s","}\n\nvoid model_parameters::userfunction(void)\n{\n");
3606 3606
    fprintf(fall,"  %s%s",objective_function_name_string," =0.0;\n");
3607
    fprintf(fall,"  pad();\n");
3607 3608

  
3608 3609
    add_references_to_user_classes(fall);
3609 3610

  
trunk/contrib/gdbprintlib/gdbprintlib.cpp (revision 1084)
1 1
#include "gdbprintlib.h"
2 2

  
3 3
/**
4
* Do nothing, this will be included by ADMB lexical analyzer
5
* so that the library is usable from within GDB
6
* @return Nothing
7
**/
8
void pad()
9
{
10
}
11

  
12
/**
4 13
* Print a double precision number to the screen
5 14
* @param v The double to print
6 15
* @return Nothing
trunk/contrib/gdbprintlib/gdbprintlib.h (revision 1084)
22 22
#include <admodel.h>
23 23
#include <df1b2fun.h>
24 24

  
25
void pad();
26

  
25 27
void pad(double v);
26 28

  
27 29
void pad(const adstring & v);

Also available in: Unified diff