Skip to content

Commit 0f73998

Browse files
ChristopherHoganstevengj
authored andcommitted
Language name in typemap has been deprecated since SWIG 1.3.29 (#26)
1 parent 3e44d44 commit 0f73998

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

utils/ctl-io.scm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@
820820
; ***************************************************************************
821821

822822
(define (swig-type-header type-name)
823-
(print "%typemap(guile,in) "
823+
(print "%typemap(in) "
824824
(if cxx (string-append namespace "::") "")
825825
(c-type-string type-name) " {\n")
826826
(if cxx (print "using namespace " namespace ";\n"))
@@ -833,7 +833,7 @@
833833
(get-type-descriptor
834834
(list-el-type-name type-name))))))
835835
(begin
836-
(print "%typemap(guile,out) "
836+
(print "%typemap(out) "
837837
(if cxx (string-append namespace "::") "")
838838
(c-type-string type-name) " {\n")
839839
(if cxx (print "using namespace " namespace ";\n"))

utils/gen-ctl-io.in

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -202,26 +202,26 @@ EOF
202202
203203
/******* SWIG type-conversion mappings for basic libctl types *******/
204204
205-
%typemap(guile,in) vector3 { \$1 = ctl_convert_vector3_to_c(\$input); }
206-
%typemap(guile,out) vector3 { \$result = ctl_convert_vector3_to_scm(\$1); }
205+
%typemap(in) vector3 { \$1 = ctl_convert_vector3_to_c(\$input); }
206+
%typemap(out) vector3 { \$result = ctl_convert_vector3_to_scm(\$1); }
207207
208-
%typemap(guile,in) matrix3x3 { \$1 = ctl_convert_matrix3x3_to_c(\$input); }
209-
%typemap(guile,out) matrix3x3 { \$result = ctl_convert_matrix3x3_to_scm(\$1); }
208+
%typemap(in) matrix3x3 { \$1 = ctl_convert_matrix3x3_to_c(\$input); }
209+
%typemap(out) matrix3x3 { \$result = ctl_convert_matrix3x3_to_scm(\$1); }
210210
211-
%typemap(guile,in) cvector3 { \$1 = ctl_convert_cvector3_to_c(\$input); }
212-
%typemap(guile,out) cvector3 { \$result = ctl_convert_cvector3_to_scm(\$1); }
211+
%typemap(in) cvector3 { \$1 = ctl_convert_cvector3_to_c(\$input); }
212+
%typemap(out) cvector3 { \$result = ctl_convert_cvector3_to_scm(\$1); }
213213
214-
%typemap(guile,in) cmatrix3x3 { \$1 = ctl_convert_cmatrix3x3_to_c(\$input); }
215-
%typemap(guile,out) cmatrix3x3 { \$result = ctl_convert_cmatrix3x3_to_scm(\$1); }
214+
%typemap(in) cmatrix3x3 { \$1 = ctl_convert_cmatrix3x3_to_c(\$input); }
215+
%typemap(out) cmatrix3x3 { \$result = ctl_convert_cmatrix3x3_to_scm(\$1); }
216216
217-
%typemap(guile,in) cnumber { \$1 = ctl_convert_cnumber_to_c(\$input); }
218-
%typemap(guile,out) cnumber { \$result = ctl_convert_cnumber_to_scm(\$1); }
217+
%typemap(in) cnumber { \$1 = ctl_convert_cnumber_to_c(\$input); }
218+
%typemap(out) cnumber { \$result = ctl_convert_cnumber_to_scm(\$1); }
219219
220-
%typemap(guile,in) function { \$1 = ctl_convert_function_to_c(\$input); }
221-
%typemap(guile,out) function { \$result = ctl_convert_function_to_scm(\$1); }
220+
%typemap(in) function { \$1 = ctl_convert_function_to_c(\$input); }
221+
%typemap(out) function { \$result = ctl_convert_function_to_scm(\$1); }
222222
223-
%typemap(guile,in) object { \$1 = ctl_convert_object_to_c(\$input); }
224-
%typemap(guile,out) object { \$result = ctl_convert_object_to_scm(\$1); }
223+
%typemap(in) object { \$1 = ctl_convert_object_to_c(\$input); }
224+
%typemap(out) object { \$result = ctl_convert_object_to_scm(\$1); }
225225
226226
EOF
227227

0 commit comments

Comments
 (0)