octave-maintainers
[Top][All Lists]
Advanced

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

Re: Question regarding manuals terminology


From: fotios
Subject: Re: Question regarding manuals terminology
Date: Sun, 12 Feb 2012 12:33:52 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0

On 02/12/2012 12:54 AM, c. wrote:
On 11 Feb 2012, at 19:00, address@hidden wrote:
Hello list,

I would like to ask if there is a good reason (not obvious to a naive
programmer like me) for refering to DEFUN_DLD as a *macro* (and not as a
function)?

/Fotis
A macro is not a function:

http://en.wikipedia.org/wiki/C_preprocessor#Macro_definition_and_expansion

DEFUN_DLD is defined as a macro:

http://hg.savannah.gnu.org/hgweb/octave/file/9f8ff01abc65/src/defun-dld.h#l60

HTH,
c.

Yep yep, thx! I know that a macro is not a function (when both terms are used by programmers, whereas it is a mapping mathematically speaking) . . . my problem was that i could not find the defining file . . . thx again.

Fotis


reply via email to

[Prev in Thread] Current Thread [Next in Thread]