Page 1 of 1

WIKI & SDK AutoDocs error

Posted: Sun May 15, 2016 7:13 pm
by xenic
The ObtainDataType() example in the datatypes autodoc (datatype.doc) contains this line:

Printf("%s\n", dt->dtn_Name);

The "dt" is "struct datatype *" and there is no dtn_Name element in the datatype structure. In fact I can't find "dtn_Name" anywhere in the SDK.

Can someone fix this in the WIKI and SDK autodocs?

Re: WIKI & SDK AutoDocs error

Posted: Sun May 15, 2016 7:22 pm
by mritter0
Should be: dt->dth_Name

Re: WIKI & SDK AutoDocs error

Posted: Sun May 15, 2016 8:40 pm
by xenic
mritter0 wrote:Should be: dt->dth_Name
I edited my post to make it clear that "dt" is "struct DataType *". I think that it should be:
dt->dtn_Header->dth_Name