WIKI & SDK AutoDocs error

This forum is for general developer support questions.
Post Reply
xenic
Posts: 1185
Joined: Sun Jun 19, 2011 12:06 am

WIKI & SDK AutoDocs error

Post 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?
Last edited by xenic on Sun May 15, 2016 9:15 pm, edited 2 times in total.
AmigaOne X1000 with 2GB memory - OS4.1 FE
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

Re: WIKI & SDK AutoDocs error

Post by mritter0 »

Should be: dt->dth_Name
Workbench Explorer - A better way to browse drawers
xenic
Posts: 1185
Joined: Sun Jun 19, 2011 12:06 am

Re: WIKI & SDK AutoDocs error

Post 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
AmigaOne X1000 with 2GB memory - OS4.1 FE
Post Reply