format code
This commit is contained in:
parent
b80df54b9a
commit
5080985a77
8
main.cpp
8
main.cpp
|
@ -51,7 +51,6 @@ CLAPI int rm_node(augeas *aug, const char *path) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CLAPI char *
|
CLAPI char *
|
||||||
get_preview(augeas *aug, const char *path) {
|
get_preview(augeas *aug, const char *path) {
|
||||||
|
|
||||||
|
@ -188,18 +187,11 @@ CLAPI bool save(augeas *aug) {
|
||||||
return aug_save(aug) == 0;
|
return aug_save(aug) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
CLAPI void get_arr( unsigned long &size, char** result)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
CLAPI int match(augeas *aug, const char *match_path, char ***matches) {
|
CLAPI int match(augeas *aug, const char *match_path, char ***matches) {
|
||||||
CHECK_RET_INT(!aug, INVALID_STATE);
|
CHECK_RET_INT(!aug, INVALID_STATE);
|
||||||
return aug_match(aug, match_path, matches);
|
return aug_match(aug, match_path, matches);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CLAPI const char *get_node(augeas *aug, const char *path) {
|
CLAPI const char *get_node(augeas *aug, const char *path) {
|
||||||
|
|
||||||
const char *value;
|
const char *value;
|
||||||
|
|
1
main.h
1
main.h
|
@ -42,5 +42,4 @@ CLAPI int rm_node (augeas *aug, const char *path);
|
||||||
CLAPI bool save (augeas *aug);
|
CLAPI bool save (augeas *aug);
|
||||||
|
|
||||||
CLAPI int match(augeas *aug, const char *match_path, char*** matches);
|
CLAPI int match(augeas *aug, const char *match_path, char*** matches);
|
||||||
// internal static extern int match(IntPtr augeas, [MarshalAs(UnmanagedType.LPStr)] string matchPath, uint* size, char*** stringArray);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue