summaryrefslogtreecommitdiff
path: root/cut-n-paste/synctex/synctex_parser.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-24 14:16:51 +0200
committerraveit65 <[email protected]>2016-06-24 20:46:36 +0200
commit1dbdaee023e47edba8dcc14ca6fced372b89c25b (patch)
tree54bcc373e912486bed21e297fab52fac9da75de1 /cut-n-paste/synctex/synctex_parser.h
parentba8d0f79a864b445ea0374a7dc5f9d9af7687859 (diff)
downloadatril-1dbdaee023e47edba8dcc14ca6fced372b89c25b.tar.bz2
atril-1dbdaee023e47edba8dcc14ca6fced372b89c25b.tar.xz
synctex: update to 1.18
Diffstat (limited to 'cut-n-paste/synctex/synctex_parser.h')
-rw-r--r--cut-n-paste/synctex/synctex_parser.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/cut-n-paste/synctex/synctex_parser.h b/cut-n-paste/synctex/synctex_parser.h
index 31517076..2c1911e0 100644
--- a/cut-n-paste/synctex/synctex_parser.h
+++ b/cut-n-paste/synctex/synctex_parser.h
@@ -5,7 +5,7 @@ This file is part of the SyncTeX package.
Latest Revision: Tue Jun 14 08:23:30 UTC 2011
-Version: 1.17
+Version: 1.18
See synctex_parser_readme.txt for more details
@@ -59,6 +59,8 @@ Thu Jun 19 09:39:21 UTC 2008
extern "C" {
#endif
+# define SYNCTEX_VERSION_STRING "1.18"
+
/* synctex_node_t is the type for all synctex nodes.
* The synctex file is parsed into a tree of nodes, either sheet, boxes, math nodes... */
typedef struct _synctex_node * synctex_node_t;
@@ -162,8 +164,9 @@ synctex_scanner_t synctex_scanner_parse(synctex_scanner_t scanner);
* Sumatra-PDF, Skim, iTeXMac2 and Texworks are examples of open source software that use this library.
* You can browse their code for a concrete implementation.
*/
-int synctex_display_query(synctex_scanner_t scanner,const char * name,int line,int column);
-int synctex_edit_query(synctex_scanner_t scanner,int page,float h,float v);
+typedef long synctex_status_t;
+synctex_status_t synctex_display_query(synctex_scanner_t scanner,const char * name,int line,int column);
+synctex_status_t synctex_edit_query(synctex_scanner_t scanner,int page,float h,float v);
synctex_node_t synctex_next_result(synctex_scanner_t scanner);
/* Display all the information contained in the scanner object.