Mercurial > hg > octave-lyh
comparison gui/src/backend/OctaveLink.cpp @ 14500:f6b4236da9f8 gui
backout changeset 75cb16d1292b.
If a change like this needs to be made on the gui branch, please start
a discussion on the maintainers list about why it is needed.
75cb16d1292b
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 27 Mar 2012 16:35:25 -0400 |
parents | 75cb16d1292b |
children | 97cb9286919c |
comparison
equal
deleted
inserted
replaced
14499:f6eb8337d077 | 14500:f6b4236da9f8 |
---|---|
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
17 | 17 |
18 #include "OctaveLink.h" | 18 #include "OctaveLink.h" |
19 #include "oct-mutex.h" | |
20 | 19 |
21 OctaveLink OctaveLink::m_singleton; | 20 OctaveLink OctaveLink::m_singleton; |
22 | 21 |
23 OctaveLink::OctaveLink ():QObject () | 22 OctaveLink::OctaveLink ():QObject () |
24 { | 23 { |
117 | 116 |
118 QList < SymbolRecord > OctaveLink::symbolTable () | 117 QList < SymbolRecord > OctaveLink::symbolTable () |
119 { | 118 { |
120 m_symbolTableBuffer.clear (); | 119 m_symbolTableBuffer.clear (); |
121 std::list < SymbolRecord > allVariables = symbol_table::all_variables (); | 120 std::list < SymbolRecord > allVariables = symbol_table::all_variables (); |
122 | |
123 std::list < SymbolRecord >::iterator iterator; | 121 std::list < SymbolRecord >::iterator iterator; |
124 for (iterator = allVariables.begin (); iterator != allVariables.end (); | 122 for (iterator = allVariables.begin (); iterator != allVariables.end (); |
125 iterator++) | 123 iterator++) |
126 m_symbolTableBuffer.append (iterator->dup()); | 124 m_symbolTableBuffer.append (iterator->dup()); |
127 return m_symbolTableBuffer; | 125 return m_symbolTableBuffer; |