Skip to content

Commit f0000c0

Browse files
committed
Adding __YICES_DLLSPEC__ to API functions
1 parent 49db5be commit f0000c0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/include/yices.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ __YICES_DLLSPEC__ extern type_t yices_function_type3(type_t tau1, type_t tau2, t
448448
/*
449449
* Create a type variable of the given id
450450
*/
451-
extern type_t yices_type_variable(uint32_t id);
451+
__YICES_DLLSPEC__ extern type_t yices_type_variable(uint32_t id);
452452

453453
/*
454454
* Create a type constructor:
@@ -464,7 +464,7 @@ extern type_t yices_type_variable(uint32_t id);
464464
* code = TOO_MANY_MACRO_PARAMS
465465
* badval = n
466466
*/
467-
extern int32_t yices_type_constructor(const char *name, uint32_t n);
467+
__YICES_DLLSPEC__ extern int32_t yices_type_constructor(const char *name, uint32_t n);
468468

469469
/*
470470
* Create a type macro:
@@ -492,7 +492,7 @@ extern int32_t yices_type_constructor(const char *name, uint32_t n);
492492
* code = DUPLICATE_TYPE_VAR
493493
* type1 = the duplicate variable
494494
*/
495-
extern int32_t yices_type_macro(const char *name, uint32_t n, type_t *vars, type_t body);
495+
__YICES_DLLSPEC__ extern int32_t yices_type_macro(const char *name, uint32_t n, type_t *vars, type_t body);
496496

497497
/*
498498
* Instance of a macro or constructor
@@ -513,25 +513,25 @@ extern int32_t yices_type_macro(const char *name, uint32_t n, type_t *vars, type
513513
* code = INVALID_TYPE
514514
* type1 = tau[i]
515515
*/
516-
extern type_t yices_instance_type(int32_t cid, uint32_t n, type_t tau[]);
516+
__YICES_DLLSPEC__ extern type_t yices_instance_type(int32_t cid, uint32_t n, type_t tau[]);
517517

518518
/*
519519
* Get the macro id for a given name
520520
* - return -1 if there's no macro or constructor with that name
521521
*/
522-
extern int32_t yices_get_macro_by_name(const char *name);
522+
__YICES_DLLSPEC__ extern int32_t yices_get_macro_by_name(const char *name);
523523

524524
/*
525525
* Remove the mapping of name --> macro id
526526
* - no change if no such mapping exists
527527
*/
528-
extern void yices_remove_type_macro_name(const char *name);
528+
__YICES_DLLSPEC__ extern void yices_remove_type_macro_name(const char *name);
529529

530530
/*
531531
* Remove a macro with the given id
532532
* - id must be a valid macro index (non-negative)
533533
*/
534-
extern void yices_delete_type_macro(int32_t id);
534+
__YICES_DLLSPEC__ extern void yices_delete_type_macro(int32_t id);
535535

536536

537537
/*************************

0 commit comments

Comments
 (0)