Next Previous Up Top Contents Index

A.4 Mapping in more detail

A.4.15 Mapping for const

An IDLconst is mapped to a Lisp constant whose name is the scoped symbol corresponding to that const and whose value is the mapped version of the corresponding value.

For example, in IDL:

module example {
  const long constant = 321;
};

And in generated Lisp:

(defpackage :example)
(defconstant example:constant 321)


Developing Component Software with CORBA - 22 Jan 1999

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker