Mercurial > mplayer.hg
comparison m_struct.c @ 10594:57bdcdb061d7
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
author | alex |
---|---|
date | Wed, 13 Aug 2003 16:29:32 +0000 |
parents | 864cdb2debb0 |
children | e3727e92e9d8 |
comparison
equal
deleted
inserted
replaced
10593:27711ab2889f | 10594:57bdcdb061d7 |
---|---|
1 | |
2 #include "config.h" | 1 #include "config.h" |
3 | |
4 #ifdef NEW_CONFIG | |
5 | 2 |
6 #include <stdlib.h> | 3 #include <stdlib.h> |
7 #include <string.h> | 4 #include <string.h> |
8 | 5 |
9 #include "m_option.h" | 6 #include "m_option.h" |
111 m_option_copy(&st->fields[i],M_ST_MB_P(r,st->fields[i].p),M_ST_MB_P(obj,st->fields[i].p)); | 108 m_option_copy(&st->fields[i],M_ST_MB_P(r,st->fields[i].p),M_ST_MB_P(obj,st->fields[i].p)); |
112 } | 109 } |
113 | 110 |
114 return r; | 111 return r; |
115 } | 112 } |
116 | |
117 | |
118 | |
119 #endif // NEW_CONFIG |