Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: cleanups
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 12 lines (10 sloc) 0.269 kb
1 2 3 4 5 6 7 8 9 10 11
#include "krb5util.h"

void
dict_addint(PyObject *dict, PyObject *revdict, const char *name, long value)
{
  PyObject *key, *val;
  key = PyString_FromString(name);
  val = PyInt_FromLong(value);
  PyDict_SetItem(dict, key, val);
  PyDict_SetItem(revdict, val, key);
}
Something went wrong with that request. Please try again.