From 487bfdfc0603ab7bf5fad381f52b8932cbcd355e Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 8 Aug 2011 16:33:48 -0700 Subject: Begin port of Python extension to new APIs. --- lang_ext/python/cext.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 lang_ext/python/cext.c (limited to 'lang_ext/python/cext.c') diff --git a/lang_ext/python/cext.c b/lang_ext/python/cext.c deleted file mode 100644 index 59e8346..0000000 --- a/lang_ext/python/cext.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * upb - a minimalist implementation of protocol buffers. - * - * Copyright (c) 2009 Google Inc. See LICENSE for details. - * Author: Josh Haberman - */ - -#include "cext.h" - -PyMODINIT_FUNC -initcext(void) -{ - PyObject *mod = Py_InitModule("upb.cext", NULL); - (void)mod; - initdefinition(); - initpb(); -} -- cgit v1.2.3