Re: inline asm question(s)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 30, 2004 at 12:18:21 +0300, Momchil Velikov wrote:
> >>>>> "Jan" == Jan Hudec <bulb@ucw.cz> writes:
> >> No type is passed as an argument as this is a macro.  The syntactic
>                                     ^^^^^^^^^^^^^^^^^^
> Jan> You have not read the macro, right? Damn sure a type IS passed as an
> Jan> argument of the macro. In the argument "type". The rest of the
> Jan> explanation is right, though.
> 
>   As this is a macro nothing is passed, in the sense that nothing is
> moved from one place to another.  Macros have arguments, but they are
> not PASSED, but SUBSTITUTED.

Most people mean "substituted", when they say "passed as argument of
a macro". Making that distinction is more confusing that not.

Of course, types can never ever be truly passed in C, since they are not
first-class objects.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux