Revision: 41852
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41852&view=rev
Author:   erikgreenwald
Date:     2010-12-30 15:55:45 +0000 (Thu, 30 Dec 2010)

Log Message:
-----------
interp -> INTERP

Modified Paths:
--------------
    brlcad/trunk/src/mged/dm-wgl.c

Modified: brlcad/trunk/src/mged/dm-wgl.c
===================================================================
--- brlcad/trunk/src/mged/dm-wgl.c      2010-12-30 15:42:14 UTC (rev 41851)
+++ brlcad/trunk/src/mged/dm-wgl.c      2010-12-30 15:55:45 UTC (rev 41852)
@@ -106,7 +106,7 @@
 
     Tk_DeleteGenericHandler(doEvent, (ClientData)NULL);
 
-    if ((dmp = dm_open(interp, DM_TYPE_WGL, argc-1, argv)) == DM_NULL)
+    if ((dmp = dm_open(INTERP, DM_TYPE_WGL, argc-1, argv)) == DM_NULL)
        return TCL_ERROR;
 
     /*XXXX this eventually needs to move into Wgl's private structure */
@@ -119,7 +119,7 @@
 
     bu_vls_init(&vls);
     bu_vls_printf(&vls, "mged_bind_dm %s", bu_vls_addr(&pathName));
-    Tcl_Eval(interp, bu_vls_addr(&vls));
+    Tcl_Eval(INTERP, bu_vls_addr(&vls));
     bu_vls_free(&vls);
 
     return TCL_OK;
@@ -132,7 +132,7 @@
     char *wgl_name = "/dev/wgl";
 
     if ((fbp = (FBIO *)calloc(sizeof(FBIO), 1)) == FBIO_NULL) {
-       Tcl_AppendResult(interp, "Wgl_fb_open: failed to allocate framebuffer 
memory\n",
+       Tcl_AppendResult(INTERP, "Wgl_fb_open: failed to allocate framebuffer 
memory\n",
                         (char *)NULL);
        return;
     }
@@ -220,7 +220,7 @@
            bu_vls_free(&tmp_vls);
        }
 
-       Tcl_AppendResult(interp, bu_vls_addr(&vls), (char *)NULL);
+       Tcl_AppendResult(INTERP, bu_vls_addr(&vls), (char *)NULL);
        bu_vls_free(&vls);
 
        return TCL_OK;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to