[net.lang.c] structure and array and string c

davy@ecn-ee.UUCP (03/28/84)

#R:sdchema:-109700:ecn-ee:13100010:000:542
ecn-ee!davy    Mar 27 08:25:00 1984

In-line assembler functions are a nifty idea, and probably wouldn't
be that bad to implement (maybe they already have been?).  I've 
never seen the Berkeley sed scripts you describe which do this stuff,
but I have seen:


	foo(x, y, z)
	{
	#ifdef vax
		asm("assembly language version of the routine");
	#else
		C version of the routine
	#endif
	}

Seems to me this oughta be good enough for most people....it's kinda
ugly, but how often do you really want to go down into assembly language
for more than one or two statements?

--Dave Curry