octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #55363] Global variable in a MEX file


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55363] Global variable in a MEX file
Date: Thu, 3 Jan 2019 16:38:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #5, bug #55363 (project octave):

OTOH, maybe you want a global variable that is shared among multiple files
that are used to make a MEX or .oct function but you don't want it to be
visible outside of the MEX or .oct function.

In any case, making the default behavior to only export the mexFunction symbol
seems reasonable.  From the nm output shown in comment #1 it appears that
mexVersion is also exported.  Are there any other symbols that Matlab MEX
files may export?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55363>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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