src/lxplib.h

Wed, 02 Apr 2014 20:53:54 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 02 Apr 2014 20:53:54 +0100
changeset 17
7f0e6f8bb8e0
parent 1
304b5a6f85e4
child 18
90da47758f85
permissions
-rw-r--r--

Expose expat's XML_GetCurrentByteCount() method as parser:getcurrentbytecount()

/*
** See Copyright Notice in license.html
*/

#define ParserType	"Expat"

#define StartCdataKey			"StartCdataSection"
#define EndCdataKey			"EndCdataSection"
#define CharDataKey			"CharacterData"
#define CommentKey			"Comment"
#define DefaultKey			"Default"
#define DefaultExpandKey		"DefaultExpand"
#define StartElementKey			"StartElement"
#define EndElementKey			"EndElement"
#define ExternalEntityKey		"ExternalEntityRef"
#define StartNamespaceDeclKey		"StartNamespaceDecl"
#define EndNamespaceDeclKey		"EndNamespaceDecl"
#define NotationDeclKey			"NotationDecl"
#define NotStandaloneKey		"NotStandalone"
#define ProcessingInstructionKey	"ProcessingInstruction"
#define UnparsedEntityDeclKey		"UnparsedEntityDecl"
#define StartDoctypeDeclKey		"StartDoctypeDecl"

int luaopen_lxp (lua_State *L);

mercurial