Windows does not recognize XPending, fix typo for verilog_format`s port name: g instead of f

This commit is contained in:
Stefan Frederik 2021-11-26 13:16:52 +01:00
parent f9b6389942
commit 551bbcec0c
3 changed files with 5 additions and 2 deletions

View File

@ -767,12 +767,13 @@ void set_clip_mask(int what)
#endif
}
}
#ifdef __unix__
/* moved here to avoid Xorg-specific calls in move.c */
int pending_events(void)
{
return XPending(display);
}
#endif
void toggle_fullscreen(const char *topwin)
{

View File

@ -1230,7 +1230,9 @@ extern void update_symbol(const char *result, int x);
extern void tclexit(ClientData s);
extern int build_colors(double dim, double dim_bg); /* reparse the TCL 'colors' list and reassign colors 20171113 */
extern void set_clip_mask(int what);
#ifdef __unix__
extern int pending_events(void);
#endif
extern void drill_hilight(int mode);
extern void get_square(double x, double y, int *xx, int *yy);
extern void del_wire_table(void);

View File

@ -517,7 +517,7 @@ url="https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=2ahUKEw
v {xschem version=3.0.0 file_version=1.2}
G {type=pmos
format="@spiceprefix@name @pinlist @model @extra m=@m"
verilog_format="@symname #@del @name ( @@d , @@s , @@f );"
verilog_format="@symname #@del @name ( @@d , @@s , @@g );"
tedax_format="footprint @name @footprint
value @name @value