Skip to content
Snippets Groups Projects
Commit 88225518 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added some PMOD_EXPORTs for support of WIN32.

Rev: src/cyclic.c:1.14
Rev: src/cyclic.h:1.10
parent d895ec85
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || for more information.
|| $Id: cyclic.c,v 1.13 2004/09/18 20:50:48 nilsson Exp $ || $Id: cyclic.c,v 1.14 2010/06/01 09:43:19 grubba Exp $
*/ */
#include "global.h" #include "global.h"
...@@ -40,13 +40,13 @@ static void low_unlink_cyclic(CYCLIC *c) ...@@ -40,13 +40,13 @@ static void low_unlink_cyclic(CYCLIC *c)
Pike_fatal("Unlink cyclic on lost cyclic struct.\n"); Pike_fatal("Unlink cyclic on lost cyclic struct.\n");
} }
void unlink_cyclic(CYCLIC *c) PMOD_EXPORT void unlink_cyclic(CYCLIC *c)
{ {
UNSET_ONERROR(c->onerr); UNSET_ONERROR(c->onerr);
low_unlink_cyclic(c); low_unlink_cyclic(c);
} }
void *begin_cyclic(CYCLIC *c, PMOD_EXPORT void *begin_cyclic(CYCLIC *c,
char *id, char *id,
void *th, void *th,
void *a, void *a,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || for more information.
|| $Id: cyclic.h,v 1.9 2003/01/05 14:29:54 grubba Exp $ || $Id: cyclic.h,v 1.10 2010/06/01 09:43:20 grubba Exp $
*/ */
#ifndef CYCLIC_H #ifndef CYCLIC_H
...@@ -50,8 +50,8 @@ typedef struct CYCLIC ...@@ -50,8 +50,8 @@ typedef struct CYCLIC
#define END_CYCLIC() unlink_cyclic(&cyclic_struct__) #define END_CYCLIC() unlink_cyclic(&cyclic_struct__)
/* Prototypes begin here */ /* Prototypes begin here */
void unlink_cyclic(CYCLIC *c); PMOD_EXPORT void unlink_cyclic(CYCLIC *c);
void *begin_cyclic(CYCLIC *c, PMOD_EXPORT void *begin_cyclic(CYCLIC *c,
char *id, char *id,
void *thread, void *thread,
void *a, void *a,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment