File: pytype_todos.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 (17 lines) | stat: -rw-r--r-- 414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <pi-todo.h>
#include "../jpilot_src/libplugin.h"
#include "pytype_basics.h"

extern PyObject* PyPiTodo_New();
extern PyObject* PyPiTodo_Wrap(struct ToDo*, PCRecType, unsigned int, unsigned char,
			      int, void*, PyObject *);

extern PyTypeObject TodoType;

#define PyPiTodo_Check(v)          ((v)->ob_type == &TodoType)

typedef struct {
  PyObject_HEAD
  PyObject_JPTYPE
  struct ToDo a;
} PyPiTodo;