]> www.ginac.de Git - cln.git/blob - src/base/proplist/cl_pl_get.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / base / proplist / cl_pl_get.cc
1 // class cl_property_list.
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cln/proplist.h"
8
9
10 // Implementation.
11
12 namespace cln {
13
14 cl_property* cl_property_list::get_property (const cl_symbol& key)
15 {
16         var cl_property* l;
17         for (l = list; l; l = l->next)
18                 if (equal(l->key,key))
19                         break;
20         return l;
21 }
22
23 }  // namespace cln