Make sure vlog_startup_routines is exported from Windows VPI modules.

This commit is contained in:
Martin Whitaker 2019-10-22 20:33:52 +01:00
parent 5f0bbe4cdb
commit f5cb5b2d90
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#ifndef VERIUSER_H
#define VERIUSER_H
/*
* Copyright (c) 2002-2018 Stephen Williams (steve@icarus.com)
* Copyright (c) 2002-2019 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@ -152,6 +152,9 @@ typedef struct t_tfcell
*/
extern s_tfcell veriusertfs[];
extern void veriusertfs_register_table(p_tfcell vtable);
#if defined(__MINGW32__) || defined (__CYGWIN32__)
extern __declspec(dllexport) void (*vlog_startup_routines[])(void);
#endif
#define usertask 1
#define userfunction 2

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2018 Stephen Williams (steve@icarus.com)
* Copyright (c) 2010-2019 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
# include "vpi_user.h"
extern void v2009_array_register(void);
extern void v2009_bitvec_register(void);
extern void v2009_enum_register(void);