All pastes #84293 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-07-10 20:03 UTC
rendered paste body
    	else if(ILTypeIsStringClass(type))
    	{
			ILUInt32 nativeType = _ILJitGetNativeType(method, param);

			if((nativeType == IL_META_NATIVETYPE_END) ||
				(nativeType == IL_META_NATIVETYPE_LPTSTR))
			{
				/* No marshalling information present. */
				/* Use the information in the class then. */
				nativeType = _ILJitStringCharSet(pinv, method);
			}
			callTypes[param - 1] = _IL_JIT_TYPE_VPTR;
			callArgs[param -1] = _ILJitMarshalStringToNative(jitCoder->jitFunction,
											  				 _ILJitCoderGetThread(jitCoder),
															 inArgs[param - 1],
															 nativeType);
    	}