Update of /cvsroot/playerstage/code/player/examples/plugins/exampleinterface
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10464/player/examples/plugins/exampleinterface
Modified Files:
eginterf_driver.cc
Log Message:
applied Toby's autopointer patches
Index: eginterf_driver.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/examples/plugins/exampleinterface/eginterf_driver.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** eginterf_driver.cc 22 May 2007 07:52:54 -0000 1.1
--- eginterf_driver.cc 23 Aug 2007 19:58:41 -0000 1.2
***************
*** 101,105 ****
printf ("\t%f\n", resp.stuff[ii]);
}
! Publish (device_addr, resp_queue, PLAYER_MSGTYPE_DATA,
EGINTERF_DATA, &resp, sizeof (resp), NULL);
}
delete[] resp.stuff;
--- 101,105 ----
printf ("\t%f\n", resp.stuff[ii]);
}
! Publish (device_addr, PLAYER_MSGTYPE_DATA,
EGINTERF_DATA, &resp, sizeof (resp), NULL);
}
delete[] resp.stuff;
***************
*** 110,114 ****
reqResp.value = RAND_MAX;
printf ("EgInterfDriver: Sending response: %d\n",
reqResp.value);
! Publish (device_addr, resp_queue, PLAYER_MSGTYPE_RESP_ACK,
EGINTERF_REQ, &reqResp, sizeof (reqResp), NULL);
}
--- 110,114 ----
reqResp.value = RAND_MAX;
printf ("EgInterfDriver: Sending response: %d\n",
reqResp.value);
! Publish (device_addr, PLAYER_MSGTYPE_RESP_ACK, EGINTERF_REQ,
&reqResp, sizeof (reqResp), NULL);
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit