stack_frames 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18a74c610d900bb78ed82f751d93c498d8c573f5a95cfc3984597abc504bffa0
4
- data.tar.gz: ebff4be1938e844e1434e1320be9dba6f04376e4d451354e2245b30d351aacef
3
+ metadata.gz: 2238db3a0eba08ae5a8faa43f18e315b5f8be27d5758429d6c168aa2017375fc
4
+ data.tar.gz: 70ef59c3d901559ffd7137a7720b5d921b511c8a68162de29b8ff8c3fba1b8bd
5
5
  SHA512:
6
- metadata.gz: 45279be5693b045b5ba53e1461bf92dc1df2db2b9ac4f357d2b6ee81899373287606050de8d72558be1b7cbbb0a141762f5c597c81375421584afcf0ac383e6c
7
- data.tar.gz: 4620f5ff6607947f6f73e2940562e69101b40093a539ae56e0d7c0b32c2d11515056579d4662570d3bb002da6646b74145f02a6233d6dd758e11bd5de5d672c7
6
+ metadata.gz: ea5b8152852b6afade78b89c96b875d3d0585055c549ff07eb8e9d9eefe1614e71e4e69098793766397a8471a24dbd53a0c37298c02ea3fa5822b187c826c8ad
7
+ data.tar.gz: c29732481c3a7f4d198cdd26265f2b680b300d74e419f3a6c319b98420dffaf62b9750fc39c2e68ea31ef6a9d0358238ec650eb6df801082f6ffacbb4c949293
@@ -14,6 +14,7 @@ jobs:
14
14
  '2.7',
15
15
  '3.0',
16
16
  '3.1',
17
+ '3.2',
17
18
  ]
18
19
  steps:
19
20
  - uses: actions/checkout@v2
@@ -33,7 +33,7 @@ static size_t buffer_memsize(const void *ptr)
33
33
  return sizeof(buffer_t);
34
34
  }
35
35
 
36
- const rb_data_type_t buffer_data_type = {
36
+ static const rb_data_type_t buffer_data_type = {
37
37
  "stack_frames_buffer",
38
38
  { buffer_mark, buffer_free, buffer_memsize, },
39
39
  NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY
@@ -1,4 +1,4 @@
1
1
  require 'mkmf'
2
- $CFLAGS << ' -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers'
2
+ $CFLAGS << ' -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden'
3
3
  $CFLAGS << ' -Werror' if ENV['STACK_FRAMES_DEV']
4
4
  create_makefile("stack_frames/stack_frames")
@@ -19,7 +19,7 @@ static size_t frame_memsize(const void *ptr)
19
19
  return sizeof(frame_t);
20
20
  }
21
21
 
22
- const rb_data_type_t frame_data_type = {
22
+ static const rb_data_type_t frame_data_type = {
23
23
  "stack_frames_frame",
24
24
  { frame_mark, RUBY_DEFAULT_FREE, frame_memsize, },
25
25
  NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY
@@ -2,7 +2,7 @@
2
2
  #include "frame.h"
3
3
  #include "buffer.h"
4
4
 
5
- void Init_stack_frames() {
5
+ RUBY_FUNC_EXPORTED void Init_stack_frames(void) {
6
6
  VALUE mStackFrames = rb_define_module("StackFrames");
7
7
  stack_buffer_define(mStackFrames);
8
8
  stack_frame_define(mStackFrames);
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StackFrames
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack_frames
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Thacker-Smith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-03 00:00:00.000000000 Z
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler