File: pytype_todos.h

package info (click to toggle)
jppy 0.0.47-1.1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,188 kB
  • ctags: 4,558
  • sloc: ansic: 51,314; python: 5,949; yacc: 1,303; makefile: 735; sh: 555; sed: 10
file content (17 lines) | stat: -rw-r--r-- 402 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*);

extern PyTypeObject TodoType;

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

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