From: Roman P. <pu...@x-...> - 2011-09-27 11:31:28
|
Hi core, would you like to make a function Tcl_ObjPrintfVA available in future releases? The function AppendPrintfToObjVA, which does the work, is already available, but inaccessable via the public API. Implementation goes analog to Tcl_ObjPrintf /* *--------------------------------------------------------------------------- * * Tcl_ObjPrintfVA -- * * Results: * A refcount zero Tcl_Obj. * * Side effects: * None. * *--------------------------------------------------------------------------- */ Tcl_Obj * Tcl_ObjPrintfVA( const char *format, va_list argList) { Tcl_Obj *objPtr = Tcl_NewObj(); AppendPrintfToObjVA(objPtr, format, argList); return objPtr; } Thanks and regards, Roman |