[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57872] Priority of mex functions with the sam
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name |
Date: |
Sun, 23 Feb 2020 12:26:05 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #7, bug #57872 (project octave):
The usual solution to keep all stuff together (m-file, cpp file, etc.) is to
create a namespace for the functions. The namespace is created by using '+'
as the first character of the directory name, and then you can access those
functions with "dir_name.function_name"
But, I still don't see any difference between Octave and Matlab. I used the
archive I already uploaded (tst_precedence.zip) for testing.
# In shell
unzip tst_precedence.zip
mv tst_prec @testme
octave
# In Octave
cd @testme
mex -v testme.cpp
cd ..
testme
Result is
Executing mex file testme.cpp.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57872>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, anonymous, 2020/02/21
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, anonymous, 2020/02/21
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, Rik, 2020/02/21
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, Mike Miller, 2020/02/21
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, anonymous, 2020/02/22
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, Mike Miller, 2020/02/22
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, anonymous, 2020/02/23
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name,
Rik <=
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, Rik, 2020/02/23
- [Octave-bug-tracker] [bug #57872] Priority of mex functions with the same name, Mike Miller, 2020/02/23
- [Octave-bug-tracker] [bug #57872] newly compiled mex function with same name does not immediately override function file, Mike Miller, 2020/02/23
- [Octave-bug-tracker] [bug #57872] newly compiled function (.mex/.oct) with same name as m-file does not immediately override function file, Rik, 2020/02/24
- [Octave-bug-tracker] [bug #57872] newly compiled function (.mex/.oct) with same name as m-file does not immediately override function file, John W. Eaton, 2020/02/24