aboutsummaryrefslogtreecommitdiffstats
path: root/src/libjwg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjwg.c')
-rw-r--r--src/libjwg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libjwg.c b/src/libjwg.c
index b86fbda..e92da2e 100644
--- a/src/libjwg.c
+++ b/src/libjwg.c
@@ -32,13 +32,13 @@ static void Handle_Destructor(Handle handle)
{
printf("JWG: Destroying handle %d\n",handle->serial);
-Obj_Delete(handle->private);
+GObj_Delete(handle->private);
fclose(handle->file);
-if (handle->data) Obj_Delete(handle->data);
+if (handle->data) GObj_Delete(handle->data);
-Obj_Remove(handle_list,handle);
+GObj_Remove(handle_list,handle);
free(handle);
}
@@ -89,7 +89,7 @@ return(s);
}
-static void jwg_xform(Handle h,Jwgpos *pos)
+INTERNAL void jwg_xform(Handle h,Jwgpos *pos)
{
float x,y;
@@ -238,7 +238,7 @@ h->ink.height*=h->transform.det;
}
-static void jwg_write_line(Handle h,Jwgline *line)
+INTERNAL void jwg_write_line(Handle h,Jwgline *line)
{
@@ -255,7 +255,7 @@ case 1:
}
-static void jwg_write_polygon(Handle h,Jwgline *line)
+INTERNAL void jwg_write_polygon(Handle h,Jwgline *line)
{
switch (h->format) {
@@ -406,7 +406,7 @@ dptr+=data->w;
void jwg_destroy_data(int *serial)
{
Handle h=handle_from_serial(*serial);
-if (h->data) Obj_Delete(h->data);
+if (h->data) GObj_Delete(h->data);
h->data=(Data) NULL;
}
@@ -673,7 +673,7 @@ h->current_line.npts=0;
void jwg_destroy_handle(int *serial)
{
Handle h=handle_from_serial(*serial);
-Obj_Delete(h);
+GObj_Delete(h);
}