format code

This commit is contained in:
code liturgy 2022-11-11 17:10:27 -05:00
parent b80df54b9a
commit 5080985a77
2 changed files with 4 additions and 13 deletions

View File

@ -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
View File

@ -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);
} }