summaryrefslogtreecommitdiffstats
path: root/src/bltParse.h
diff options
context:
space:
mode:
authorjoye <joye>2014-07-08 19:55:45 (GMT)
committerjoye <joye>2014-07-08 19:55:45 (GMT)
commitd94450a5cfe4e5e7117cdc87e20d906f843e9990 (patch)
tree0855ba38b4c83cbfe50b485b22a845294e3f6bd4 /src/bltParse.h
parentd9392c93890e89f29b64c963e8ff39c6e8d402a9 (diff)
downloadblt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.zip
blt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.tar.gz
blt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltParse.h')
-rw-r--r--src/bltParse.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/src/bltParse.h b/src/bltParse.h
index b9cb298..ee215a5 100644
--- a/src/bltParse.h
+++ b/src/bltParse.h
@@ -30,21 +30,26 @@
#ifndef _BLT_PARSE_H
#define _BLT_PARSE_H
-typedef struct _ParseValue ParseValue;
-struct _ParseValue {
+namespace Blt {
+
+ typedef struct _ParseValue ParseValue;
+ struct _ParseValue {
char *buffer;
char *next;
char *end;
void (*expandProc)(ParseValue *pvPtr, int needed);
ClientData clientData;
-};
+ };
-extern int Blt_ParseBraces(Tcl_Interp* interp, const char *string,
- const char **termPtr, ParseValue *pvPtr);
-extern int Blt_ParseNestedCmd(Tcl_Interp* interp, const char *string,
- int flags, const char **termPtr, ParseValue *pvPtr);
-extern int Blt_ParseQuotes(Tcl_Interp* interp, const char *string,
- int termChar, int flags, const char **termPtr, ParseValue * pvPtr);
-extern void Blt_ExpandParseValue(ParseValue *pvPtr, int needed);
+ extern int ParseBraces(Tcl_Interp* interp, const char *string,
+ const char **termPtr, ParseValue *pvPtr);
+ extern int ParseNestedCmd(Tcl_Interp* interp, const char *string,
+ int flags, const char **termPtr,
+ ParseValue *pvPtr);
+ extern int ParseQuotes(Tcl_Interp* interp, const char *string,
+ int termChar, int flags, const char **termPtr,
+ ParseValue * pvPtr);
+ extern void ExpandParseValue(ParseValue *pvPtr, int needed);
+}
#endif