SysVIPC 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/ext/SysVIPC.c +10 -10
  2. data/lib/SysVIPC.rb +1 -1
  3. metadata +6 -6
data/ext/SysVIPC.c CHANGED
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.4
3
+ * Version 2.0.7
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1528,7 +1528,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1528
1528
  downcast methods. */
1529
1529
  if (obj != Qnil) {
1530
1530
  VALUE value = rb_iv_get(obj, "@__swigtype__");
1531
- char* type_name = RSTRING_PTR(value);
1531
+ const char* type_name = RSTRING_PTR(value);
1532
1532
 
1533
1533
  if (strcmp(type->name, type_name) == 0) {
1534
1534
  return obj;
@@ -1814,7 +1814,7 @@ static VALUE mSysVIPC;
1814
1814
  #define SWIG_RUBY_THREAD_END_BLOCK
1815
1815
 
1816
1816
 
1817
- #define SWIGVERSION 0x020004
1817
+ #define SWIGVERSION 0x020007
1818
1818
  #define SWIG_VERSION SWIGVERSION
1819
1819
 
1820
1820
 
@@ -2390,7 +2390,7 @@ _wrap_errno_get(VALUE self) {
2390
2390
  }
2391
2391
 
2392
2392
 
2393
- swig_class SwigClassIpc_perm;
2393
+ static swig_class SwigClassIpc_perm;
2394
2394
 
2395
2395
  SWIGINTERN VALUE
2396
2396
  _wrap_ipc_perm_uid_set(int argc, VALUE *argv, VALUE self) {
@@ -2729,7 +2729,7 @@ fail:
2729
2729
  }
2730
2730
 
2731
2731
 
2732
- swig_class SwigClassMsqid_ds;
2732
+ static swig_class SwigClassMsqid_ds;
2733
2733
 
2734
2734
  SWIGINTERN VALUE
2735
2735
  _wrap_msqid_ds_msg_perm_set(int argc, VALUE *argv, VALUE self) {
@@ -3362,7 +3362,7 @@ fail:
3362
3362
  }
3363
3363
 
3364
3364
 
3365
- swig_class SwigClassSemid_ds;
3365
+ static swig_class SwigClassSemid_ds;
3366
3366
 
3367
3367
  SWIGINTERN VALUE
3368
3368
  _wrap_semid_ds_sem_perm_set(int argc, VALUE *argv, VALUE self) {
@@ -3615,7 +3615,7 @@ free_semid_ds(struct semid_ds *arg1) {
3615
3615
  free((char *) arg1);
3616
3616
  }
3617
3617
 
3618
- swig_class SwigClassSembuf;
3618
+ static swig_class SwigClassSembuf;
3619
3619
 
3620
3620
  SWIGINTERN VALUE
3621
3621
  _wrap_sembuf_sem_num_set(int argc, VALUE *argv, VALUE self) {
@@ -3945,7 +3945,7 @@ fail:
3945
3945
  }
3946
3946
 
3947
3947
 
3948
- swig_class SwigClassShmid_ds;
3948
+ static swig_class SwigClassShmid_ds;
3949
3949
 
3950
3950
  SWIGINTERN VALUE
3951
3951
  _wrap_shmid_ds_shm_perm_set(int argc, VALUE *argv, VALUE self) {
@@ -4411,7 +4411,7 @@ free_shmid_ds(struct shmid_ds *arg1) {
4411
4411
  free((char *) arg1);
4412
4412
  }
4413
4413
 
4414
- swig_class SwigClassShmaddr;
4414
+ static swig_class SwigClassShmaddr;
4415
4415
 
4416
4416
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
4417
4417
  SWIGINTERN VALUE
@@ -4985,7 +4985,7 @@ SWIGEXPORT void Init_SysVIPC(void) {
4985
4985
  }
4986
4986
 
4987
4987
  SWIG_RubyInitializeTrackings();
4988
- rb_define_const(mSysVIPC, "RELEASE", SWIG_FromCharPtr("0.9.5"));
4988
+ rb_define_const(mSysVIPC, "RELEASE", SWIG_FromCharPtr("0.9.6"));
4989
4989
  rb_define_singleton_method(mSysVIPC, "errno", _wrap_errno_get, 0);
4990
4990
  rb_define_const(mSysVIPC, "IPC_CREAT", SWIG_From_int((int)(IPC_CREAT)));
4991
4991
  rb_define_const(mSysVIPC, "IPC_EXCL", SWIG_From_int((int)(IPC_EXCL)));
data/lib/SysVIPC.rb CHANGED
@@ -154,7 +154,7 @@ module SysVIPC
154
154
  alias :send :snd
155
155
 
156
156
  # Receive a message of type +type+, limited to +len+ bytes or fewer.
157
- # See msgsnd(2).
157
+ # See msgrcv(2).
158
158
 
159
159
  def rcv(type, size, flags = 0)
160
160
  res, mtype, mtext = msgrcv(@msgid, size, type, flags)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SysVIPC
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 5
10
- version: 0.9.5
9
+ - 6
10
+ version: 0.9.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steven Jenkins
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-02-22 00:00:00 Z
18
+ date: 2013-03-03 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: "System V Inter-Process Communication: message queues, semaphores, and shared memory."
@@ -35,7 +35,7 @@ licenses: []
35
35
 
36
36
  post_install_message:
37
37
  rdoc_options:
38
- - "--title "
38
+ - --title
39
39
  - SysVIPC
40
40
  require_paths:
41
41
  - lib
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  requirements: []
61
61
 
62
62
  rubyforge_project: sysvipc
63
- rubygems_version: 1.8.15
63
+ rubygems_version: 1.8.24
64
64
  signing_key:
65
65
  specification_version: 3
66
66
  summary: System V Inter-Process Communication.