Python ssc.py missing some staticmethods for info

  • Angus King
  • Topic Author
More
08 Apr 2015 02:50 #3221 by Angus King
I was looking at getting module variable details for required and constraints using ssc.py. It failed because two static methods were missing. I added the following at about line 250 of ssc.py and all is sweet:

@staticmethod
        def ssc_info_required( p_inf ):
                SSCAPI._dll.ssc_info_required.restype = c_char_p
                return SSCAPI._dll.ssc_info_required( c_void_p(p_inf) )

        @staticmethod
        def ssc_info_constraints( p_inf ):
                SSCAPI._dll.ssc_info_constraints.restype = c_char_p
                return SSCAPI._dll.ssc_info_constraints( c_void_p(p_inf) )


Kind regards
AnGus

Please Log in or Create an account to join the conversation.

  • Angus King
  • Topic Author
More
01 Jul 2015 09:49 #3222 by Angus King
Replied by Angus King on topic Python ssc.py missing some staticmethods for info
I notice these static methods are still missing from the 2015-6-30 version

Kind regards
AnGus

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum