Label: ♦english ♦bug report

[226] Typo in documentation of Programming with C interface to Dao

Comment
Hi,
there is a typo in the example :
DValue   buf[3];
DValue   *par[3];
for(i=0;   i<3;   i++)   par[i]   =   &   buf[i];
buf[0]   =   DValue_NewInteger(1);
buf[2]   =   DValue_NewFloat(2.0);
buf[3]   =   DValue_NewMBString(   "abc",   3   );
DaoVmProcess_Call(   vmp,   func,   NULL,   par,   3   );

The buf[3] has to be buf[ 2 ].
Regards.
Comments
Thank you!

Change picture:

Choose file:

123 4
56 78910 11
121314151617 18
192021222324 25
26272829

fu: ... I forgot to say something about the plan for the whole new year in my previous reply. Well, besides w ... (Jan.19,01:40)

fu: ... Happy new dragon year (which will start from this sunday)! Actually, it was a busy month (I wish th ... (Jan.18,22:46)

ybabel: What's the plan for the new year ? Hello 'vry budy :- ) happy new year (when is the new year for you Fu ?) I saw you come back and comm ... (Jan.18,18:59)

This site is powered by Dao
Copyright (C) 2009,2010, daovm.net.
Webmaster: admin@daovm.net