File: jpilot_helpers.h

package info (click to toggle)
jppy 0.0.56-1.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 9,512 kB
  • ctags: 3,972
  • sloc: ansic: 45,883; sh: 10,974; python: 6,331; yacc: 1,014; makefile: 418
file content (10 lines) | stat: -rw-r--r-- 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#include <Python.h>
#include <pi-appinfo.h>
#include <gtk/gtk.h>

PyObject *DeleteObjectFromJpilotDatabase(PyObject *record, char *database);
PyObject *SaveObjectToJpilotDatabase(PyObject *record, char *database, int recordtype);
int read_DB_and_rewind_list(char *database, GList **records);
PyObject *AppInfoCategories_to_PyList(struct CategoryAppInfo *cai);

#define PYUNICODE_DECODE(x) PyUnicode_Decode(x, strlen(x), PALMOSCHARENCODING, NULL)