Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
sblim-cmpi-devel
CMPIString-const-char-constructor.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CMPIString-const-char-constructor.patch of Package sblim-cmpi-devel
diff -wruN -x '*~' ../orig-sblim-cmpi-devel-2.0.2/cmpi/CmpiString.h ./cmpi/CmpiString.h --- ../orig-sblim-cmpi-devel-2.0.2/cmpi/CmpiString.h 2008-07-09 21:36:59.000000000 +0200 +++ ./cmpi/CmpiString.h 2011-07-14 08:54:01.000000000 +0200 @@ -71,6 +71,10 @@ */ CmpiString(); + /** Constructor - from const char* + */ + CmpiString(const char *s); + /** Constructor - Copy constructor */ CmpiString(const CmpiString& s); diff -wruN -x '*~' ../orig-sblim-cmpi-devel-2.0.2/CmpiImpl.cpp ./CmpiImpl.cpp --- ../orig-sblim-cmpi-devel-2.0.2/CmpiImpl.cpp 2009-08-19 03:21:57.000000000 +0200 +++ ./CmpiImpl.cpp 2011-07-14 08:54:01.000000000 +0200 @@ -1569,6 +1569,9 @@ CmpiString::CmpiString() { enc=NULL; } +CmpiString::CmpiString(const char *s) { + enc=CMNewString(CmpiProviderBase::getBroker(),s, NULL); +} const char* CmpiString::charPtr() const { if (getEnc()) return (const char*)getEnc()->hdl;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor