Skip to content

Commit d4fc6e1

Browse files
author
Nicholas Reed
committed
more symbols for MSVC dll import/export; SCL git f853b99
1 parent 389ef8a commit d4fc6e1

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

include/exppp/exppp.h

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
11
#ifndef EXPPP_H
22
#define EXPPP_H
3-
extern int exppp_nesting_indent; /* default nesting indent */
4-
extern int exppp_continuation_indent; /* default nesting indent for */
3+
extern SCL_EXPPP_EXPORT int exppp_nesting_indent; /* default nesting indent */
4+
extern SCL_EXPPP_EXPORT int exppp_continuation_indent; /* default nesting indent for */
55
/* continuation lines */
6-
extern int exppp_linelength; /* leave some slop for closing */
6+
extern SCL_EXPPP_EXPORT int exppp_linelength; /* leave some slop for closing */
77
/* parens. \n is not included in */
88
/* this count either */
9-
extern bool exppp_rmpp; /* if true, create rmpp */
10-
extern bool exppp_alphabetize; /* if true, alphabetize */
11-
extern bool exppp_terse; /* don't describe action to stdout */
12-
extern bool exppp_reference_info; /* if true, add commentary */
9+
extern SCL_EXPPP_EXPORT bool exppp_rmpp; /* if true, create rmpp */
10+
extern SCL_EXPPP_EXPORT bool exppp_alphabetize; /* if true, alphabetize */
11+
extern SCL_EXPPP_EXPORT bool exppp_terse; /* don't describe action to stdout */
12+
extern SCL_EXPPP_EXPORT bool exppp_reference_info; /* if true, add commentary */
1313
/* about where things came from */
14-
extern bool exppp_preserve_comments; /* if true, preserve comments where */
14+
extern SCL_EXPPP_EXPORT bool exppp_preserve_comments; /* if true, preserve comments where */
1515
/* possible */
16-
extern char * exppp_output_filename; /* force output filename */
17-
extern bool exppp_output_filename_reset; /* if true, force output filename */
16+
extern SCL_EXPPP_EXPORT char * exppp_output_filename; /* force output filename */
17+
extern SCL_EXPPP_EXPORT bool exppp_output_filename_reset; /* if true, force output filename */
1818

19-
void EXPRESSout( Express e );
19+
SCL_EXPPP_EXPORT void EXPRESSout( Express e );
2020

21-
void ENTITYout( Entity e );
22-
void EXPRout( Expression expr );
23-
void FUNCout( Function f );
24-
void PROCout( Procedure p );
25-
void RULEout( Rule r );
26-
char * SCHEMAout( Schema s );
27-
void SCHEMAref_out( Schema s );
28-
void STMTout( Statement s );
29-
void TYPEout( Type t );
30-
void TYPEhead_out( Type t );
31-
void TYPEbody_out( Type t );
32-
void WHEREout( Linked_List w );
21+
SCL_EXPPP_EXPORT void ENTITYout( Entity e );
22+
SCL_EXPPP_EXPORT void EXPRout( Expression expr );
23+
SCL_EXPPP_EXPORT void FUNCout( Function f );
24+
SCL_EXPPP_EXPORT void PROCout( Procedure p );
25+
SCL_EXPPP_EXPORT void RULEout( Rule r );
26+
SCL_EXPPP_EXPORT char * SCHEMAout( Schema s );
27+
SCL_EXPPP_EXPORT void SCHEMAref_out( Schema s );
28+
SCL_EXPPP_EXPORT void STMTout( Statement s );
29+
SCL_EXPPP_EXPORT void TYPEout( Type t );
30+
SCL_EXPPP_EXPORT void TYPEhead_out( Type t );
31+
SCL_EXPPP_EXPORT void TYPEbody_out( Type t );
32+
SCL_EXPPP_EXPORT void WHEREout( Linked_List w );
3333

34-
char * REFto_string( Dictionary refdict, Linked_List reflist, char * type, int level );
35-
char * ENTITYto_string( Entity e );
36-
char * SUBTYPEto_string( Expression e );
37-
char * EXPRto_string( Expression expr );
38-
char * FUNCto_string( Function f );
39-
char * PROCto_string( Procedure p );
40-
char * RULEto_string( Rule r );
41-
char * SCHEMAref_to_string( Schema s );
42-
char * STMTto_string( Statement s );
43-
char * TYPEto_string( Type t );
44-
char * TYPEhead_to_string( Type t );
45-
char * TYPEbody_to_string( Type t );
46-
char * WHEREto_string( Linked_List w );
34+
SCL_EXPPP_EXPORT char * REFto_string( Dictionary refdict, Linked_List reflist, char * type, int level );
35+
SCL_EXPPP_EXPORT char * ENTITYto_string( Entity e );
36+
SCL_EXPPP_EXPORT char * SUBTYPEto_string( Expression e );
37+
SCL_EXPPP_EXPORT char * EXPRto_string( Expression expr );
38+
SCL_EXPPP_EXPORT char * FUNCto_string( Function f );
39+
SCL_EXPPP_EXPORT char * PROCto_string( Procedure p );
40+
SCL_EXPPP_EXPORT char * RULEto_string( Rule r );
41+
SCL_EXPPP_EXPORT char * SCHEMAref_to_string( Schema s );
42+
SCL_EXPPP_EXPORT char * STMTto_string( Statement s );
43+
SCL_EXPPP_EXPORT char * TYPEto_string( Type t );
44+
SCL_EXPPP_EXPORT char * TYPEhead_to_string( Type t );
45+
SCL_EXPPP_EXPORT char * TYPEbody_to_string( Type t );
46+
SCL_EXPPP_EXPORT char * WHEREto_string( Linked_List w );
4747

48-
int REFto_buffer( Dictionary refdict, Linked_List reflist, char * type, int level, char * buffer, int length );
49-
int ENTITYto_buffer( Entity e, char * buffer, int length );
50-
int EXPRto_buffer( Expression e, char * buffer, int length );
51-
int FUNCto_buffer( Function e, char * buffer, int length );
52-
int PROCto_buffer( Procedure e, char * buffer, int length );
53-
int RULEto_buffer( Rule e, char * buffer, int length );
54-
int SCHEMAref_to_buffer( Schema s, char * buffer, int length );
55-
int STMTto_buffer( Statement s, char * buffer, int length );
56-
int TYPEto_buffer( Type t, char * buffer, int length );
57-
int TYPEhead_to_buffer( Type t, char * buffer, int length );
58-
int TYPEbody_to_buffer( Type t, char * buffer, int length );
59-
int WHEREto_buffer( Linked_List w, char * buffer, int length );
48+
SCL_EXPPP_EXPORT int REFto_buffer( Dictionary refdict, Linked_List reflist, char * type, int level, char * buffer, int length );
49+
SCL_EXPPP_EXPORT int ENTITYto_buffer( Entity e, char * buffer, int length );
50+
SCL_EXPPP_EXPORT int EXPRto_buffer( Expression e, char * buffer, int length );
51+
SCL_EXPPP_EXPORT int FUNCto_buffer( Function e, char * buffer, int length );
52+
SCL_EXPPP_EXPORT int PROCto_buffer( Procedure e, char * buffer, int length );
53+
SCL_EXPPP_EXPORT int RULEto_buffer( Rule e, char * buffer, int length );
54+
SCL_EXPPP_EXPORT int SCHEMAref_to_buffer( Schema s, char * buffer, int length );
55+
SCL_EXPPP_EXPORT int STMTto_buffer( Statement s, char * buffer, int length );
56+
SCL_EXPPP_EXPORT int TYPEto_buffer( Type t, char * buffer, int length );
57+
SCL_EXPPP_EXPORT int TYPEhead_to_buffer( Type t, char * buffer, int length );
58+
SCL_EXPPP_EXPORT int TYPEbody_to_buffer( Type t, char * buffer, int length );
59+
SCL_EXPPP_EXPORT int WHEREto_buffer( Linked_List w, char * buffer, int length );
6060
#endif

0 commit comments

Comments
 (0)