deleteprop -> delprop

This commit is contained in:
topjohnwu
2020-03-09 02:05:24 -07:00
parent a0998009c1
commit cf54cad3ce
2 changed files with 6 additions and 9 deletions

View File

@@ -1,6 +1,3 @@
/* resetprop.h - API for resetprop
*/
#pragma once
#include <string>
@@ -10,5 +7,5 @@ int prop_exist(const char *name);
int setprop(const char *name, const char *value, bool trigger = true);
std::string getprop(const char *name, bool persist = false);
void getprop(void (*callback)(const char *, const char *, void *), void *cookie, bool persist = false);
int deleteprop(const char *name, bool persist = false);
int delprop(const char *name, bool persist = false);
void load_prop_file(const char *filename, bool trigger = true);