id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
1261	Document NCI type 'p' behavior for PMCNULL/NULL values	NotFound		"The 'p' type in NCI signatures according to pdd16 draft when used for a parameter takes a PMC and uses his data pointer (in fact uses vtable get_pointer) on it, and for a return value creates an UnmanagedStruct PMC and sets his pointer.

However what it was doing before pcc refactoring was passing NULL for a PMCNULL argument and returning PMCNULL for a returned NULL. This is more convenient for most usages, and avoid creation of unuseful PMCs.

The change passed unadvertised because there was no test for that cases.

I reverted the behavior and added a test for it yesterday, but I think this is an important detail for most NCI usages and must be clearly stated in the docs.

The attached patch fixes draft pdd13, but surely my English grammar sucks. Please review.
"	patch	closed	normal		none	1.7.0	medium	done				applied	
