MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / write

Method write

linux/lnxdata.cpp:202–211  ·  view source on GitHub ↗

write either an integer or string to a record.

Source from the content-addressed store, hash-verified

200
201// write either an integer or string to a record.
202bool oeLnxAppDatabase::write(const char *label, const char *entry, int entrylen) {
203 ASSERT(label);
204 ASSERT(entry);
205 if (!database) {
206 mprintf(0, "Can't write record because database NULL\n");
207 return false;
208 }
209
210 return database->CreateRecord((char *)label, REGT_STRING, (void *)entry);
211}
212
213bool oeLnxAppDatabase::write(const char *label, int entry) {
214 ASSERT(label);

Callers 5

IOOps.hFile · 0.45
SaveEditorSettingsFunction · 0.45
OnOKMethod · 0.45
OnOKMethod · 0.45
OnOKMethod · 0.45

Calls 1

CreateRecordMethod · 0.45

Tested by

no test coverage detected