Design Pattern Examples
Overview of object-oriented design patterns
State_RemoveComments.h
Go to the documentation of this file.
1
6
7#pragma once
8#ifndef __STATE_REMOVECOMMENTS_H__
9#define __STATE_REMOVECOMMENTS_H__
10
11#include <stdbool.h>
13
14
25bool State_RemoveComments(const char* text, DynamicString* filteredText);
26
27
28#endif // __STATE_REMOVECOMMENTS_H__
29
bool State_RemoveComments(const char *text, DynamicString *filteredText)
Entry point for callers to filter text. Removes C++-style line and block comments from the text.
Declaration of the DynamicString structure and supporting functions to work with dynamic strings.
Represents a string that can be grown dynamically.
Definition: dynamicstring.h:16