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

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

[Octave-bug-tracker] [bug #53856] MEX file in a private directory of a c


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53856] MEX file in a private directory of a class
Date: Mon, 14 May 2018 17:52:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #14, bug #53856 (project octave):

I still get the following behavior (with Rik's mex_private example posted
here, freshly extracted):


$ cd mex_private/private/
$ mkoctfile-4.4.0 --mex myprivfcn.c
$ cd  ..
$ octave -q
>> version -hgid
ans = c8f49ee7a687
>> tst_privfcn
error: Calling the m-file!
error: called from
    myprivfcn at line 2 column 3
    tst_privfcn at line 4 column 3
>> unlink private/myprivfcn.m;
>> tst_privfcn
error: myprivfcn: Calling the MEX-file!
error: called from
    tst_privfcn at line 4 column 3


And after restoring the m-file function, I looked at the '__dump_load_path__'
function you mentioned:


>> __dump_load_path__
…

*** private functions in ./private:

  myprivfcn (m)

…



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53856>

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




reply via email to

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