Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gxv_merge(1) — OpenWindows Developer Guide 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gxv(1)

GXV_MERGE(1)  —  USER COMMANDS

NAME

gxv_merge − merge and preserve the contents of two stubs files generated by gxv
 

SYNOPSIS

gxv_merge [ −w | −s | −v ] filename

DESCRIPTION

gxv_merge first saves the existing stubs file then runs gxv(1) on the specified GIL file.  It then calls stubsmerge to merge the old and new stubs files.  stubsmerge merges the two stubs files in a way that the resulting stubs file is a code union of the two stubs files.  In other words, the user-added code in the existing stubs file is preserved and at the same time, the code for the new interface objects in the new stubs file will be added.  The result of the merge is written to filename_stubs.c and a backup of the old stubs is saved in filename_stubs.c.BAK.  stubsmerge also generates a filename_stubs.c.BAK.delta file.  This file contains useful information of any changes made to the original stubs file. 

OPTIONS

−s Sets gxv_merge so it works silently, producing no messages while generating source code. 

−v Sets gxv_merge so it is verbose, producing a message each time it generates source code for a user interface element. 

−w Sets gxv_merge so it will not generate any warning messages. 

SEE ALSO

gxv(1)

$GUIDEHOME/doc/stubsmerge.doc file for more documentation. 

DIAGNOSTICS

cannot parse interface_stubs.c file
stubsmerge cannot parse interface_stubs.c file because it is not in correct C syntax.

BUGS

In order for stubsmerge to work properly, individual object definitions and initializations generated by gxv in the main() of the stubs.c file cannot not be modified. Hence, the following change is not allowed:

from

xxx_window1 = xxx_window1_objects_initialize(NULL, NULL);

to

xxx_window1 =
xxx_window1_objects_initialize(NULL, NULL);
 
 

Sun Release 4.0  —  Last change: 8 July 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026