git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@2650
ffa7fe5e-494d-0410-b361-
a75ebd5db220
extern "C" {
#endif
-#include <glib.h>
#include "projection.h"
enum item_type;
} u;
};
-struct attr_iter {
- union {
- GList *list;
- struct mapset_handle *mapset_handle;
- } u;
-};
-
+struct attr_iter;
/* prototypes */
enum attr_type attr_from_name(const char *name);
char *attr_to_name(enum attr_type attr);
struct gui *main_loop_gui;
+struct attr_iter {
+ union {
+ GList *list;
+ struct mapset_handle *mapset_handle;
+ } u;
+};
+
static void navit_vehicle_update(struct navit *this_, struct navit_vehicle *nv);
static void navit_vehicle_draw(struct navit *this_, struct navit_vehicle *nv, struct point *pnt);
static int navit_add_vehicle(struct navit *this_, struct vehicle *v);
struct attr_iter *
vehicle_attr_iter_new(void)
{
- return g_new0(struct attr_iter,1);
+ return (struct attr_iter *)g_new0(void *,1);
}
void