[D] Correctly annotate function pointers with C linkage.

Minor cleanups as well.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
David Nadlinger 2012-01-23 21:59:00 +00:00
commit 8fa4d20ec3
5 changed files with 50 additions and 8 deletions

View file

@ -3877,7 +3877,8 @@ private:
}
}
dtype = NewStringf("%s function(%s)", return_dtype, param_list);
dtype = NewStringf("%s.SwigExternC!(%s function(%s))", im_dmodule_fq_name,
return_dtype, param_list);
Delete(param_list);
Delete(param_dtypes);
Delete(return_dtype);