clipsruby 0.0.36 → 0.0.37
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 +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bdf3718a68644b1772e951c9a1056581d95b53a0d63d691d7cd434076d8877a
|
4
|
+
data.tar.gz: d76e7156d421d9cb0db3bd73314f061377c2972ecdafcd3eef1c480c113d4d2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b4e7e0f16be94698e19d4b8d53bfbc07eeecbcb26e71eb9347ee2d36a9526c4a50708ca2b8cefc042b846fa81197500a1c03a46020f61ebe6111c6d715b574b
|
7
|
+
data.tar.gz: a29961896b77bd1cb0874bd51dc001d94b31c8b7000137b27fca0ef4820055895d69cc3302145514163a5b628791d625cb4208722feea618fb9488d25a5a049a
|
data/ext/clipsruby/clipsruby.c
CHANGED
@@ -282,10 +282,16 @@ static VALUE clips_environment_defclass_static_defmodule_name(VALUE self, VALUE
|
|
282
282
|
static VALUE clips_environment_defclass_pp_form(VALUE self)
|
283
283
|
{
|
284
284
|
Defclass *defclass;
|
285
|
+
const char *pp_form;
|
285
286
|
|
286
287
|
TypedData_Get_Struct(self, Defclass, &Defclass_type, defclass);
|
287
288
|
|
288
|
-
|
289
|
+
pp_form = DefclassPPForm(defclass);
|
290
|
+
if (pp_form == NULL) {
|
291
|
+
return Qnil;
|
292
|
+
} else {
|
293
|
+
return rb_str_new2(pp_form);
|
294
|
+
}
|
289
295
|
}
|
290
296
|
|
291
297
|
static VALUE clips_environment_defclass_static_pp_form(VALUE self, VALUE rbDefclass)
|