octave-maintainers
[Top][All Lists]
Advanced

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

def const in .oct file


From: Tom Holroyd
Subject: def const in .oct file
Date: Sat, 6 May 2006 15:07:10 -0400 (EDT)

What is the proper way of installing a constant in an .oct file?

E.g., SEEK_SET is defined as a function now.  I want to define
AF_UNIX in the socket code.  I can't use
        DEFUN_DLD (AF_UNIX, args, , ...)
because that expands to defining F1 (AF_UNIX == 1).

Tom Holroyd, Ph.D.
I would dance and be merry,
Life would be a ding-a-derry,
If I only had a brain.
        -- The Scarecrow


reply via email to

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