19 struct handler_data_io {
24 static struct handler_data_io *handler_io;
26 static void error_handler_io(
void *p
UNUSED)
32 Out = handler_io->Out;
61 handler_io =
G_malloc(
sizeof(
struct handler_data_io));
64 handler_io->Out = Out;
void G_free(void *)
Free allocated memory.
void G_add_error_handler(void(*)(void *), void *)
Add new error handler.
char * G_store(const char *)
Copy string to allocated memory.
int Vect_close(struct Map_info *)
Close vector map.
int Vect_delete(const char *)
Delete vector map including attribute tables.
#define VECT_OPEN_CODE
Vector map open code.
#define UNUSED
A macro for an attribute, if attached to a variable, indicating that the variable is not used.
char * name
Map name (for 4.0)
void Vect_set_error_handler_io(struct Map_info *In, struct Map_info *Out)
Define standard error handler for input and output vector maps.