~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to erts/emulator/test/nif_SUITE_data/nif_mod.h

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    unsigned lib_ver;
5
5
    int static_cntA;
6
6
    int static_cntB;
 
7
    char* arg;
 
8
    int arg_sz;
7
9
    char func_name[1]; /* must be last */
8
10
}CallInfo;
9
11
 
 
12
#define RT_MAX 5
10
13
 
11
14
typedef struct
12
15
{
 
16
    ErlNifMutex* mtx;
13
17
    int calls;
14
18
    int ref_cnt;
15
19
    CallInfo* call_history;
 
20
    ErlNifResourceType* rt_arr[RT_MAX];
16
21
}NifModPrivData;
17
22