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?
WIKI & SDK AutoDocs error
WIKI & SDK AutoDocs error
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
Re: WIKI & SDK AutoDocs error
Should be: dt->dth_Name
Workbench Explorer - A better way to browse drawers
Re: WIKI & SDK AutoDocs error
I edited my post to make it clear that "dt" is "struct DataType *". I think that it should be:mritter0 wrote:Should be: dt->dth_Name
dt->dtn_Header->dth_Name
AmigaOne X1000 with 2GB memory - OS4.1 FE