TianoCore EDK2 master
Loading...
Searching...
No Matches
Misc.h File Reference
#include "TextEditorTypes.h"

Go to the source code of this file.

Functions

VOID LineFree (IN EFI_EDITOR_LINE *Src)
 
EFI_EDITOR_LINELineDup (IN EFI_EDITOR_LINE *Src)
 

Detailed Description

Declares generic editor helper functions.

Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Misc.h.

Function Documentation

◆ LineDup()

EFI_EDITOR_LINE * LineDup ( IN EFI_EDITOR_LINE Src)

Duplicate a EFI_EDITOR_LINE structure.

Parameters
SrcThe line structure to copy from.
Return values
NULLA memory allocation failed.
Returns
a pointer to the newly allcoated line.

Definition at line 21 of file Misc.c.

◆ LineFree()

VOID LineFree ( IN EFI_EDITOR_LINE Src)

Free a EFI_EDITOR_LINE structure.

Parameters
SrcThe line structure to free.

Definition at line 62 of file Misc.c.