clipsruby 0.0.38 → 0.0.39
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.
- checksums.yaml +4 -4
- data/ext/clipsruby/clipsruby.c +21 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80e4a680ddbc8bf4562a2b6995c645c0b5dd436ad36a1ee3445ba3fec7f13971
|
4
|
+
data.tar.gz: 297c0e0c46cb3355acddde65530c2f424d0994691a25aa84fd030fd041631d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c46acccb9d8b0edc1841f56ad046f8a36c06bcae3baf155b08ef3dff1b46acdf61ef82bcfc73ca5059796bfb87e767571f25f00fbc5a89bf359c992c38b3d32b
|
7
|
+
data.tar.gz: 76c92b24f599195d9878907a09d6ef765aea158784fcb1847692e608220463de97932baa96bcf9c6c5bdd484eed4d14ed9fffc9c0a8370d634531528d445b95d
|
data/ext/clipsruby/clipsruby.c
CHANGED
@@ -2122,10 +2122,16 @@ static VALUE clips_environment_deffacts_static_name(VALUE self, VALUE rbDeffacts
|
|
2122
2122
|
static VALUE clips_environment_deffacts_pp_form(VALUE self)
|
2123
2123
|
{
|
2124
2124
|
Deffacts *deffacts;
|
2125
|
+
const char *pp_form;
|
2125
2126
|
|
2126
2127
|
TypedData_Get_Struct(self, Deffacts, &Deffacts_type, deffacts);
|
2127
2128
|
|
2128
|
-
|
2129
|
+
pp_form = DeffactsPPForm(deffacts);
|
2130
|
+
if (pp_form == NULL) {
|
2131
|
+
return Qnil;
|
2132
|
+
} else {
|
2133
|
+
return rb_str_new2(pp_form);
|
2134
|
+
}
|
2129
2135
|
}
|
2130
2136
|
|
2131
2137
|
static VALUE clips_environment_deffacts_static_pp_form(VALUE self, VALUE rbDeffacts)
|
@@ -2510,10 +2516,16 @@ static VALUE clips_environment_deftemplate_static_name(VALUE self, VALUE rbDefte
|
|
2510
2516
|
static VALUE clips_environment_deftemplate_pp_form(VALUE self)
|
2511
2517
|
{
|
2512
2518
|
Deftemplate *deftemplate;
|
2519
|
+
const char *pp_form;
|
2513
2520
|
|
2514
2521
|
TypedData_Get_Struct(self, Deftemplate, &Deftemplate_type, deftemplate);
|
2515
2522
|
|
2516
|
-
|
2523
|
+
pp_form = DeftemplatePPForm(deftemplate);
|
2524
|
+
if (pp_form == NULL) {
|
2525
|
+
return Qnil;
|
2526
|
+
} else {
|
2527
|
+
return rb_str_new2(pp_form);
|
2528
|
+
}
|
2517
2529
|
}
|
2518
2530
|
|
2519
2531
|
static VALUE clips_environment_deftemplate_static_pp_form(VALUE self, VALUE rbDeftemplate)
|
@@ -3060,10 +3072,16 @@ static VALUE clips_environment_defmodule_static_name(VALUE self, VALUE rbDefmodu
|
|
3060
3072
|
static VALUE clips_environment_defmodule_pp_form(VALUE self)
|
3061
3073
|
{
|
3062
3074
|
Defmodule *defmodule;
|
3075
|
+
const char *pp_form;
|
3063
3076
|
|
3064
3077
|
TypedData_Get_Struct(self, Defmodule, &Defmodule_type, defmodule);
|
3065
3078
|
|
3066
|
-
|
3079
|
+
pp_form = DefmodulePPForm(defmodule);
|
3080
|
+
if (pp_form == NULL) {
|
3081
|
+
return Qnil;
|
3082
|
+
} else {
|
3083
|
+
return rb_str_new2(pp_form);
|
3084
|
+
}
|
3067
3085
|
}
|
3068
3086
|
|
3069
3087
|
static VALUE clips_environment_defmodule_static_pp_form(VALUE self, VALUE rbDefmodule)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clipsruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Johnston
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Calling the CLIPS programming language from within Ruby
|
14
14
|
email: mrryanjohnston@gmail.com
|