/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/_static_tuple_c.h

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-09-22 02:38:35 UTC
  • mfrom: (7058.5.4 upload-symlin)
  • Revision ID: breezy.the.bot@gmail.com-20180922023835-wb9nczxp63jpeudb
Add symlink support to 'brz upload'.

Merged from https://code.launchpad.net/~jelmer/brz/upload-symlinks/+merge/355061

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2009 Canonical Ltd
 
1
/* Copyright (C) 2009, 2010 Canonical Ltd
2
2
 * 
3
3
 * This program is free software; you can redistribute it and/or modify
4
4
 * it under the terms of the GNU General Public License as published by
67
67
#define StaticTuple_SET_ITEM(key, offset, val) \
68
68
    ((((StaticTuple*)(key))->items[(offset)]) = ((PyObject *)(val)))
69
69
#define StaticTuple_GET_ITEM(key, offset) (((StaticTuple*)key)->items[offset])
 
70
#define StaticTuple_GET_SIZE(key) (((StaticTuple*)key)->size)
70
71
 
71
72
 
72
73
#ifdef STATIC_TUPLE_MODULE
108
109
    struct type_description types[] = {
109
110
        {"StaticTuple", &_p_StaticTuple_Type},
110
111
        {NULL}};
111
 
    return _import_extension_module("bzrlib._static_tuple_c",
 
112
    return _import_extension_module("breezy._static_tuple_c",
112
113
        functions, types);
113
114
}
114
115