;;; This file was automatically generated by SWIG (http://www.swig.org).
;;; Version 1.3.40
;;;
;;; Do not make changes to this file unless you know what you are doing--modify
;;; the SWIG interface file instead.


;;;SWIG wrapper code starts here

(cl:defmacro defanonenum (&body enums)
   "Converts anonymous enums to defconstants."
  `(cl:progn ,@(cl:loop for value in enums
                        for index = 0 then (cl:1+ index)
                        when (cl:listp value) do (cl:setf index (cl:second value)
                                                          value (cl:first value))
                        collect `(cl:defconstant ,value ,index))))

(cl:eval-when (:compile-toplevel :load-toplevel)
  (cl:unless (cl:fboundp 'swig-lispify)
    (cl:defun swig-lispify (name flag cl:&optional (package cl:*package*))
      (cl:labels ((helper (lst last rest cl:&aux (c (cl:car lst)))
                    (cl:cond
                      ((cl:null lst)
                       rest)
                      ((cl:upper-case-p c)
                       (helper (cl:cdr lst) 'upper
                               (cl:case last
                                 ((lower digit) (cl:list* c #\- rest))
                                 (cl:t (cl:cons c rest)))))
                      ((cl:lower-case-p c)
                       (helper (cl:cdr lst) 'lower (cl:cons (cl:char-upcase c) rest)))
                      ((cl:digit-char-p c)
                       (helper (cl:cdr lst) 'digit
                               (cl:case last
                                 ((upper lower) (cl:list* c #\- rest))
                                 (cl:t (cl:cons c rest)))))
                      ((cl:char-equal c #\_)
                       (helper (cl:cdr lst) '_ (cl:cons #\- rest)))
                      (cl:t
                       (cl:error "Invalid character: ~A" c)))))
        (cl:let ((fix (cl:case flag
                        ((constant enumvalue) "+")
                        (variable "*")
                        (cl:t ""))))
          (cl:intern
           (cl:concatenate
            'cl:string
            fix
            (cl:nreverse (helper (cl:concatenate 'cl:list name) cl:nil cl:nil))
            fix)
           package))))))

;;;SWIG wrapper code ends here


(cl:defconstant SG_BUCKET_SPAN 0.125d0)

(cl:defconstant SG_HALF_BUCKET_SPAN (cl:* 0.5d0 0.125d0))

(cffi:defcfun ("_wrap_sg_bucket_span" sg_bucket_span) :double
  (l :double))

(cffi:defcfun ("_wrap_new_SGBucket__SWIG_0" new_SGBucket) :pointer)

(cffi:defcfun ("_wrap_new_SGBucket__SWIG_1" new_SGBucket) :pointer
  (dlon :double)
  (dlat :double))

(cffi:defcfun ("_wrap_new_SGBucket__SWIG_2" new_SGBucket) :pointer
  (geod :pointer))

(cffi:defcfun ("_wrap_new_SGBucket__SWIG_3" new_SGBucket) :pointer
  (is_good :pointer))

(cffi:defcfun ("_wrap_new_SGBucket__SWIG_4" new_SGBucket) :pointer
  (bindex :long))

(cffi:defcfun ("_wrap_SGBucket_set_bucket__SWIG_0" SGBucket_set_bucket) :void
  (self :pointer)
  (dlon :double)
  (dlat :double))

(cffi:defcfun ("_wrap_SGBucket_set_bucket__SWIG_1" SGBucket_set_bucket) :void
  (self :pointer)
  (lonlat :pointer))

(cffi:defcfun ("_wrap_SGBucket_set_bucket__SWIG_2" SGBucket_set_bucket) :void
  (self :pointer)
  (geod :pointer))

(cffi:defcfun ("_wrap_SGBucket_make_bad" SGBucket_make_bad) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_gen_index" SGBucket_gen_index) :long
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_gen_index_str" SGBucket_gen_index_str) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_gen_base_path" SGBucket_gen_base_path) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_center_lon" SGBucket_get_center_lon) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_center_lat" SGBucket_get_center_lat) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_width" SGBucket_get_width) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_height" SGBucket_get_height) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_width_m" SGBucket_get_width_m) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_height_m" SGBucket_get_height_m) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_center" SGBucket_get_center) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_corner" SGBucket_get_corner) :pointer
  (self :pointer)
  (num :unsigned-int))

(cffi:defcfun ("_wrap_SGBucket_get_chunk_lon" SGBucket_get_chunk_lon) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_chunk_lat" SGBucket_get_chunk_lat) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_x" SGBucket_get_x) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGBucket_get_y" SGBucket_get_y) :int
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGBucket" delete_SGBucket) :void
  (self :pointer))

(cffi:defcfun ("_wrap_sgBucketOffset" sgBucketOffset) :pointer
  (dlon :double)
  (dlat :double)
  (x :int)
  (y :int))

(cffi:defcfun ("_wrap_sgBucketDiff" sgBucketDiff) :void
  (b1 :pointer)
  (b2 :pointer)
  (dx :pointer)
  (dy :pointer))

(cffi:defcfun ("_wrap_new_logbuf" new_logbuf) :pointer)

(cffi:defcfun ("_wrap_delete_logbuf" delete_logbuf) :void
  (self :pointer))

(cffi:defcfun ("_wrap_logbuf_enabled" logbuf_enabled) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_logbuf_set_log_state" logbuf_set_log_state) :void
  (self :pointer)
  (c :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_logbuf_would_log" logbuf_would_log) :pointer
  (self :pointer)
  (c :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_logbuf_set_log_level" logbuf_set_log_level) :void
  (c :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_logbuf_set_log_classes" logbuf_set_log_classes) :void
  (c :pointer))

(cffi:defcfun ("_wrap_logbuf_get_log_classes" logbuf_get_log_classes) :pointer)

(cffi:defcfun ("_wrap_logbuf_set_log_priority" logbuf_set_log_priority) :void
  (p :pointer))

(cffi:defcfun ("_wrap_logbuf_get_log_priority" logbuf_get_log_priority) :pointer)

(cffi:defcfun ("_wrap_logbuf_set_sb" logbuf_set_sb) :void
  (self :pointer)
  (sb :pointer))

(cffi:defcstruct loglevel
	(logClass :pointer)
	(logPriority :pointer))

(cffi:defcstruct logstream_base
	(lbuf :pointer))

(cffi:defcfun ("_wrap_new_logstream" new_logstream) :pointer
  (out :pointer))

(cffi:defcfun ("_wrap_logstream_set_output" logstream_set_output) :void
  (self :pointer)
  (out :pointer))

(cffi:defcfun ("_wrap_logstream_setLogLevels" logstream_setLogLevels) :void
  (self :pointer)
  (c :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_logstream_would_log" logstream_would_log) :pointer
  (self :pointer)
  (c :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_logstream___lshift__" logstream___lshift__) :pointer
  (self :pointer)
  (l :pointer))

(cffi:defcfun ("_wrap_sglog" sglog) :pointer)

(cffi:defcfun ("_wrap_logstream_initGlobalLogstream" logstream_initGlobalLogstream) :pointer)

(cffi:defcfun ("_wrap_delete_logstream" delete_logstream) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGPrecipitation" new_SGPrecipitation) :pointer)

(cffi:defcfun ("_wrap_delete_SGPrecipitation" delete_SGPrecipitation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGPrecipitation_build" SGPrecipitation_build) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPrecipitation_update" SGPrecipitation_update) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPrecipitation_setWindProperty" SGPrecipitation_setWindProperty) :void
  (self :pointer)
  (arg1 :double)
  (arg2 :double))

(cffi:defcfun ("_wrap_SGPrecipitation_setFreezing" SGPrecipitation_setFreezing) :void
  (self :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_SGPrecipitation_setRainIntensity" SGPrecipitation_setRainIntensity) :void
  (self :pointer)
  (arg1 :float))

(cffi:defcfun ("_wrap_SGPrecipitation_setSnowIntensity" SGPrecipitation_setSnowIntensity) :void
  (self :pointer)
  (arg1 :float))

(cffi:defcfun ("_wrap_new_SGWxRadarEcho" new_SGWxRadarEcho) :pointer
  (_heading :float)
  (_alt :float)
  (_radius :float)
  (_dist :float)
  (_LWC :double)
  (_lightning :pointer)
  (_cloudId :int))

(cffi:defcfun ("_wrap_SGWxRadarEcho_heading_set" SGWxRadarEcho_heading_set) :void
  (self :pointer)
  (heading :float))

(cffi:defcfun ("_wrap_SGWxRadarEcho_heading_get" SGWxRadarEcho_heading_get) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGWxRadarEcho_alt_set" SGWxRadarEcho_alt_set) :void
  (self :pointer)
  (alt :float))

(cffi:defcfun ("_wrap_SGWxRadarEcho_alt_get" SGWxRadarEcho_alt_get) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGWxRadarEcho_radius_set" SGWxRadarEcho_radius_set) :void
  (self :pointer)
  (radius :float))

(cffi:defcfun ("_wrap_SGWxRadarEcho_radius_get" SGWxRadarEcho_radius_get) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGWxRadarEcho_dist_set" SGWxRadarEcho_dist_set) :void
  (self :pointer)
  (dist :float))

(cffi:defcfun ("_wrap_SGWxRadarEcho_dist_get" SGWxRadarEcho_dist_get) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGWxRadarEcho_LWC_set" SGWxRadarEcho_LWC_set) :void
  (self :pointer)
  (LWC :double))

(cffi:defcfun ("_wrap_SGWxRadarEcho_LWC_get" SGWxRadarEcho_LWC_get) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGWxRadarEcho_lightning_set" SGWxRadarEcho_lightning_set) :void
  (self :pointer)
  (lightning :pointer))

(cffi:defcfun ("_wrap_SGWxRadarEcho_lightning_get" SGWxRadarEcho_lightning_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGWxRadarEcho_cloudId_set" SGWxRadarEcho_cloudId_set) :void
  (self :pointer)
  (cloudId :int))

(cffi:defcfun ("_wrap_SGWxRadarEcho_cloudId_get" SGWxRadarEcho_cloudId_get) :int
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGWxRadarEcho" delete_SGWxRadarEcho) :void
  (self :pointer))

(cffi:defctype list_of_SGWxRadarEcho :pointer)

(cffi:defcfun ("_wrap_new_SGEnviro" new_SGEnviro) :pointer)

(cffi:defcfun ("_wrap_delete_SGEnviro" delete_SGEnviro) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_config" SGEnviro_config) :void
  (self :pointer)
  (precip_rendering_cfgNode :pointer))

(cffi:defcfun ("_wrap_SGEnviro_startOfFrame" SGEnviro_startOfFrame) :void
  (self :pointer)
  (p :pointer)
  (up :pointer)
  (lon :double)
  (lat :double)
  (alt :double)
  (delta_time :double))

(cffi:defcfun ("_wrap_SGEnviro_endOfFrame" SGEnviro_endOfFrame) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_drawRain" SGEnviro_drawRain) :void
  (self :pointer)
  (pitch :double)
  (roll :double)
  (heading :double)
  (hspeed :double)
  (rain_norm :double))

(cffi:defcfun ("_wrap_SGEnviro_drawPrecipitation" SGEnviro_drawPrecipitation) :void
  (self :pointer)
  (rain_norm :double)
  (snow_norm :double)
  (hail_norm :double)
  (pitch :double)
  (roll :double)
  (heading :double)
  (hspeed :double))

(cffi:defcfun ("_wrap_SGEnviro_drawLightning" SGEnviro_drawLightning) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_setLight" SGEnviro_setLight) :void
  (self :pointer)
  (adj_fog_color :pointer))

(cffi:defcfun ("_wrap_SGEnviro_is_view_in_cloud" SGEnviro_is_view_in_cloud) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_set_view_in_cloud" SGEnviro_set_view_in_cloud) :void
  (self :pointer)
  (incloud :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_cloud_turbulence" SGEnviro_get_cloud_turbulence) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_clouds_CacheSize" SGEnviro_get_clouds_CacheSize) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_CacheResolution" SGEnviro_get_CacheResolution) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_clouds_visibility" SGEnviro_get_clouds_visibility) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_clouds_density" SGEnviro_get_clouds_density) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_clouds_enable_state" SGEnviro_get_clouds_enable_state) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_turbulence_enable_state" SGEnviro_get_turbulence_enable_state) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_set_clouds_CacheSize" SGEnviro_set_clouds_CacheSize) :void
  (self :pointer)
  (sizeKb :int))

(cffi:defcfun ("_wrap_SGEnviro_set_CacheResolution" SGEnviro_set_CacheResolution) :void
  (self :pointer)
  (resolutionPixels :int))

(cffi:defcfun ("_wrap_SGEnviro_set_clouds_visibility" SGEnviro_set_clouds_visibility) :void
  (self :pointer)
  (distance :float))

(cffi:defcfun ("_wrap_SGEnviro_set_clouds_density" SGEnviro_set_clouds_density) :void
  (self :pointer)
  (density :float))

(cffi:defcfun ("_wrap_SGEnviro_set_clouds_enable_state" SGEnviro_set_clouds_enable_state) :void
  (self :pointer)
  (enable :pointer))

(cffi:defcfun ("_wrap_SGEnviro_set_turbulence_enable_state" SGEnviro_set_turbulence_enable_state) :void
  (self :pointer)
  (enable :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_precipitation_density" SGEnviro_get_precipitation_density) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_precipitation_enable_state" SGEnviro_get_precipitation_enable_state) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_set_precipitation_density" SGEnviro_set_precipitation_density) :void
  (self :pointer)
  (density :float))

(cffi:defcfun ("_wrap_SGEnviro_set_precipitation_enable_state" SGEnviro_set_precipitation_enable_state) :void
  (self :pointer)
  (enable :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_lightning_enable_state" SGEnviro_get_lightning_enable_state) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_set_lightning_enable_state" SGEnviro_set_lightning_enable_state) :void
  (self :pointer)
  (enable :pointer))

(cffi:defcfun ("_wrap_SGEnviro_addLightning" SGEnviro_addLightning) :void
  (self :pointer)
  (lon :double)
  (lat :double)
  (alt :double))

(cffi:defcfun ("_wrap_SGEnviro_set_sampleGroup" SGEnviro_set_sampleGroup) :void
  (self :pointer)
  (sgr :pointer))

(cffi:defcfun ("_wrap_SGEnviro_setFOV" SGEnviro_setFOV) :void
  (self :pointer)
  (w :float)
  (h :float))

(cffi:defcfun ("_wrap_SGEnviro_getFOV" SGEnviro_getFOV) :void
  (self :pointer)
  (w :pointer)
  (h :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_radar_echo" SGEnviro_get_radar_echo) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEnviro_get_transform" SGEnviro_get_transform) :pointer
  (self :pointer))

(cffi:defcvar ("sgEnviro" sgEnviro)
 :pointer)

(cffi:defcfun ("_wrap_new_CelestialBody__SWIG_0" new_CelestialBody) :pointer
  (Nf :double)
  (Ns :double)
  (If :double)
  (Is :double)
  (wf :double)
  (ws :double)
  (af :double)
  (as :double)
  (ef :double)
  (es :double)
  (Mf :double)
  (Ms :double)
  (mjd :double))

(cffi:defcfun ("_wrap_new_CelestialBody__SWIG_1" new_CelestialBody) :pointer
  (Nf :double)
  (Ns :double)
  (If :double)
  (Is :double)
  (wf :double)
  (ws :double)
  (af :double)
  (as :double)
  (ef :double)
  (es :double)
  (Mf :double)
  (Ms :double))

(cffi:defcfun ("_wrap_CelestialBody_getPos__SWIG_0" CelestialBody_getPos) :void
  (self :pointer)
  (ra :pointer)
  (dec :pointer))

(cffi:defcfun ("_wrap_CelestialBody_getPos__SWIG_1" CelestialBody_getPos) :void
  (self :pointer)
  (ra :pointer)
  (dec :pointer)
  (magnitude :pointer))

(cffi:defcfun ("_wrap_CelestialBody_getRightAscension" CelestialBody_getRightAscension) :double
  (self :pointer))

(cffi:defcfun ("_wrap_CelestialBody_getDeclination" CelestialBody_getDeclination) :double
  (self :pointer))

(cffi:defcfun ("_wrap_CelestialBody_getMagnitude" CelestialBody_getMagnitude) :double
  (self :pointer))

(cffi:defcfun ("_wrap_CelestialBody_getLon" CelestialBody_getLon) :double
  (self :pointer))

(cffi:defcfun ("_wrap_CelestialBody_getLat" CelestialBody_getLat) :double
  (self :pointer))

(cffi:defcfun ("_wrap_CelestialBody_updatePosition" CelestialBody_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_delete_CelestialBody" delete_CelestialBody) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGEphemeris" new_SGEphemeris) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_delete_SGEphemeris" delete_SGEphemeris) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_update" SGEphemeris_update) :void
  (self :pointer)
  (mjd :double)
  (lst :double)
  (lat :double))

(cffi:defcfun ("_wrap_SGEphemeris_get_sun" SGEphemeris_get_sun) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getSunRightAscension" SGEphemeris_getSunRightAscension) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getSunDeclination" SGEphemeris_getSunDeclination) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_get_moon" SGEphemeris_get_moon) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getMoonRightAscension" SGEphemeris_getMoonRightAscension) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getMoonDeclination" SGEphemeris_getMoonDeclination) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getNumPlanets" SGEphemeris_getNumPlanets) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getPlanets__SWIG_0" SGEphemeris_getPlanets) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getPlanets__SWIG_1" SGEphemeris_getPlanets) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getNumStars" SGEphemeris_getNumStars) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getStars__SWIG_0" SGEphemeris_getStars) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGEphemeris_getStars__SWIG_1" SGEphemeris_getStars) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_Jupiter__SWIG_0" new_Jupiter) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_Jupiter__SWIG_1" new_Jupiter) :pointer)

(cffi:defcfun ("_wrap_Jupiter_updatePosition" Jupiter_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_delete_Jupiter" delete_Jupiter) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_Mars__SWIG_0" new_Mars) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_Mars__SWIG_1" new_Mars) :pointer)

(cffi:defcfun ("_wrap_Mars_updatePosition" Mars_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_delete_Mars" delete_Mars) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_Mercury__SWIG_0" new_Mercury) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_Mercury__SWIG_1" new_Mercury) :pointer)

(cffi:defcfun ("_wrap_Mercury_updatePosition" Mercury_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_delete_Mercury" delete_Mercury) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_MoonPos__SWIG_0" new_MoonPos) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_MoonPos__SWIG_1" new_MoonPos) :pointer)

(cffi:defcfun ("_wrap_delete_MoonPos" delete_MoonPos) :void
  (self :pointer))

(cffi:defcfun ("_wrap_MoonPos_updatePosition" MoonPos_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (lst :double)
  (lat :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_new_Neptune__SWIG_0" new_Neptune) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_Neptune__SWIG_1" new_Neptune) :pointer)

(cffi:defcfun ("_wrap_Neptune_updatePosition" Neptune_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_delete_Neptune" delete_Neptune) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_Saturn__SWIG_0" new_Saturn) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_Saturn__SWIG_1" new_Saturn) :pointer)

(cffi:defcfun ("_wrap_Saturn_updatePosition" Saturn_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_delete_Saturn" delete_Saturn) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_Star__SWIG_0" new_Star) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_Star__SWIG_1" new_Star) :pointer)

(cffi:defcfun ("_wrap_delete_Star" delete_Star) :void
  (self :pointer))

(cffi:defcfun ("_wrap_Star_updatePosition" Star_updatePosition) :void
  (self :pointer)
  (mjd :double))

(cffi:defcfun ("_wrap_Star_getM" Star_getM) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Star_getw" Star_getw) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Star_getxs" Star_getxs) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Star_getys" Star_getys) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Star_getye" Star_getye) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Star_getze" Star_getze) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Star_getDistance" Star_getDistance) :double
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGStarData" new_SGStarData) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_delete_SGStarData" delete_SGStarData) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGStarData_load" SGStarData_load) :pointer
  (self :pointer)
  (path :pointer))

(cffi:defcfun ("_wrap_SGStarData_getNumStars" SGStarData_getNumStars) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGStarData_getStars" SGStarData_getStars) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_Uranus__SWIG_0" new_Uranus) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_Uranus__SWIG_1" new_Uranus) :pointer)

(cffi:defcfun ("_wrap_Uranus_updatePosition" Uranus_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_delete_Uranus" delete_Uranus) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_Venus__SWIG_0" new_Venus) :pointer
  (mjd :double))

(cffi:defcfun ("_wrap_new_Venus__SWIG_1" new_Venus) :pointer)

(cffi:defcfun ("_wrap_Venus_updatePosition" Venus_updatePosition) :void
  (self :pointer)
  (mjd :double)
  (ourSun :pointer))

(cffi:defcfun ("_wrap_delete_Venus" delete_Venus) :void
  (self :pointer))

(cl:defconstant SG_IO_MAX_MSG_SIZE 16384)

(cffi:defcenum SGProtocolDir
	(:SG_IO_NONE #.0)
	(:SG_IO_IN #.1)
	(:SG_IO_OUT #.2)
	(:SG_IO_BI #.3))

(cffi:defcenum SGChannelType
	(:sgFileType #.0)
	(:sgSerialType #.1)
	(:sgSocketType #.2))

(cffi:defcfun ("_wrap_new_SGIOChannel" new_SGIOChannel) :pointer)

(cffi:defcfun ("_wrap_delete_SGIOChannel" delete_SGIOChannel) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGIOChannel_open" SGIOChannel_open) :pointer
  (self :pointer)
  (d SGProtocolDir))

(cffi:defcfun ("_wrap_SGIOChannel_read" SGIOChannel_read) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGIOChannel_readline" SGIOChannel_readline) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGIOChannel_write" SGIOChannel_write) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGIOChannel_writestring" SGIOChannel_writestring) :int
  (self :pointer)
  (str :string))

(cffi:defcfun ("_wrap_SGIOChannel_close" SGIOChannel_close) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGIOChannel_eof" SGIOChannel_eof) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGIOChannel_set_type" SGIOChannel_set_type) :void
  (self :pointer)
  (t_arg1 SGChannelType))

(cffi:defcfun ("_wrap_SGIOChannel_get_type" SGIOChannel_get_type) SGChannelType
  (self :pointer))

(cffi:defcfun ("_wrap_SGIOChannel_set_dir" SGIOChannel_set_dir) :void
  (self :pointer)
  (d SGProtocolDir))

(cffi:defcfun ("_wrap_SGIOChannel_get_dir" SGIOChannel_get_dir) SGProtocolDir
  (self :pointer))

(cffi:defcfun ("_wrap_SGIOChannel_isvalid" SGIOChannel_isvalid) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGIOChannel_set_valid" SGIOChannel_set_valid) :void
  (self :pointer)
  (v :pointer))

(cffi:defcfun ("_wrap_sgReadChar" sgReadChar) :void
  (fd :pointer)
  (var :string))

(cffi:defcfun ("_wrap_sgWriteChar" sgWriteChar) :void
  (fd :pointer)
  (var :char))

(cffi:defcfun ("_wrap_sgReadFloat__SWIG_0" sgReadFloat) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteFloat__SWIG_0" sgWriteFloat) :void
  (fd :pointer)
  (var :float))

(cffi:defcfun ("_wrap_sgReadDouble__SWIG_0" sgReadDouble) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteDouble__SWIG_0" sgWriteDouble) :void
  (fd :pointer)
  (var :double))

(cffi:defcfun ("_wrap_sgReadUInt__SWIG_0" sgReadUInt) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteUInt__SWIG_0" sgWriteUInt) :void
  (fd :pointer)
  (var :unsigned-int))

(cffi:defcfun ("_wrap_sgReadInt__SWIG_0" sgReadInt) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteInt__SWIG_0" sgWriteInt) :void
  (fd :pointer)
  (var :int))

(cffi:defcfun ("_wrap_sgReadLong" sgReadLong) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteLong" sgWriteLong) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadLongLong" sgReadLongLong) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteLongLong" sgWriteLongLong) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadUShort__SWIG_0" sgReadUShort) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteUShort__SWIG_0" sgWriteUShort) :void
  (fd :pointer)
  (var :unsigned-short))

(cffi:defcfun ("_wrap_sgReadShort__SWIG_0" sgReadShort) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteShort__SWIG_0" sgWriteShort) :void
  (fd :pointer)
  (var :short))

(cffi:defcfun ("_wrap_sgReadFloat__SWIG_1" sgReadFloat) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteFloat__SWIG_1" sgWriteFloat) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadDouble__SWIG_1" sgReadDouble) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteDouble__SWIG_1" sgWriteDouble) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadUInt__SWIG_1" sgReadUInt) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteUInt__SWIG_1" sgWriteUInt) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadInt__SWIG_1" sgReadInt) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteInt__SWIG_1" sgWriteInt) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadUShort__SWIG_1" sgReadUShort) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteUShort__SWIG_1" sgWriteUShort) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadShort__SWIG_1" sgReadShort) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteShort__SWIG_1" sgWriteShort) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadBytes" sgReadBytes) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteBytes" sgWriteBytes) :void
  (fd :pointer)
  (n :unsigned-int)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadString" sgReadString) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteString" sgWriteString) :void
  (fd :pointer)
  (var :string))

(cffi:defcfun ("_wrap_sgReadVec2" sgReadVec2) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteVec2" sgWriteVec2) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadVec3" sgReadVec3) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteVec3" sgWriteVec3) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReaddVec3" sgReaddVec3) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWritedVec3" sgWritedVec3) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadVec4" sgReadVec4) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteVec4" sgWriteVec4) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgReadMat4" sgReadMat4) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgWriteMat4" sgWriteMat4) :void
  (fd :pointer)
  (var :pointer))

(cffi:defcfun ("_wrap_sgClearReadError" sgClearReadError) :void)

(cffi:defcfun ("_wrap_sgClearWriteError" sgClearWriteError) :void)

(cffi:defcfun ("_wrap_sgReadError" sgReadError) :int)

(cffi:defcfun ("_wrap_sgWriteError" sgWriteError) :int)

(cffi:defcfun ("_wrap_new_IPAddress__SWIG_0" new_IPAddress) :pointer)

(cffi:defcfun ("_wrap_new_IPAddress__SWIG_1" new_IPAddress) :pointer
  (host :string)
  (port :int))

(cffi:defcfun ("_wrap_IPAddress_set" IPAddress_set) :void
  (self :pointer)
  (host :string)
  (port :int))

(cffi:defcfun ("_wrap_IPAddress_getHost" IPAddress_getHost) :string
  (self :pointer))

(cffi:defcfun ("_wrap_IPAddress_getPort" IPAddress_getPort) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_IPAddress_getIP" IPAddress_getIP) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_IPAddress_getFamily" IPAddress_getFamily) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_IPAddress_getLocalHost" IPAddress_getLocalHost) :string)

(cffi:defcfun ("_wrap_IPAddress_getBroadcast" IPAddress_getBroadcast) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_IPAddress" delete_IPAddress) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_Socket" new_Socket) :pointer)

(cffi:defcfun ("_wrap_delete_Socket" delete_Socket) :void
  (self :pointer))

(cffi:defcfun ("_wrap_Socket_initSockets" Socket_initSockets) :int)

(cffi:defcfun ("_wrap_Socket_getHandle" Socket_getHandle) :int
  (self :pointer))

(cffi:defcfun ("_wrap_Socket_setHandle" Socket_setHandle) :void
  (self :pointer)
  (handle :int))

(cffi:defcfun ("_wrap_Socket_open__SWIG_0" Socket_open) :pointer
  (self :pointer)
  (stream :pointer))

(cffi:defcfun ("_wrap_Socket_open__SWIG_1" Socket_open) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_Socket_close" Socket_close) :void
  (self :pointer))

(cffi:defcfun ("_wrap_Socket_bind" Socket_bind) :int
  (self :pointer)
  (host :string)
  (port :int))

(cffi:defcfun ("_wrap_Socket_listen" Socket_listen) :int
  (self :pointer)
  (backlog :int))

(cffi:defcfun ("_wrap_Socket_accept" Socket_accept) :int
  (self :pointer)
  (addr :pointer))

(cffi:defcfun ("_wrap_Socket_connect" Socket_connect) :int
  (self :pointer)
  (host :string)
  (port :int))

(cffi:defcfun ("_wrap_Socket_send__SWIG_0" Socket_send) :int
  (self :pointer)
  (buffer :pointer)
  (size :int)
  (flags :int))

(cffi:defcfun ("_wrap_Socket_send__SWIG_1" Socket_send) :int
  (self :pointer)
  (buffer :pointer)
  (size :int))

(cffi:defcfun ("_wrap_Socket_sendto" Socket_sendto) :int
  (self :pointer)
  (buffer :pointer)
  (size :int)
  (flags :int)
  (to :pointer))

(cffi:defcfun ("_wrap_Socket_recv__SWIG_0" Socket_recv) :int
  (self :pointer)
  (buffer :pointer)
  (size :int)
  (flags :int))

(cffi:defcfun ("_wrap_Socket_recv__SWIG_1" Socket_recv) :int
  (self :pointer)
  (buffer :pointer)
  (size :int))

(cffi:defcfun ("_wrap_Socket_recvfrom" Socket_recvfrom) :int
  (self :pointer)
  (buffer :pointer)
  (size :int)
  (flags :int)
  (from :pointer))

(cffi:defcfun ("_wrap_Socket_setBlocking" Socket_setBlocking) :void
  (self :pointer)
  (blocking :pointer))

(cffi:defcfun ("_wrap_Socket_setBroadcast" Socket_setBroadcast) :void
  (self :pointer)
  (broadcast :pointer))

(cffi:defcfun ("_wrap_Socket_isNonBlockingError" Socket_isNonBlockingError) :pointer)

(cffi:defcfun ("_wrap_Socket_select" Socket_select) :int
  (reads :pointer)
  (writes :pointer)
  (timeout :int))

(cffi:defctype group_list :pointer)

(cffi:defctype group_list_iterator :pointer)

(cffi:defctype const_group_list_iterator :pointer)

(cffi:defcfun ("_wrap_SGBinObject_get_version" SGBinObject_get_version) :unsigned-short
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_gbs_center" SGBinObject_get_gbs_center) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_gbs_center" SGBinObject_set_gbs_center) :void
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_gbs_radius" SGBinObject_get_gbs_radius) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_gbs_radius" SGBinObject_set_gbs_radius) :void
  (self :pointer)
  (r :float))

(cffi:defcfun ("_wrap_SGBinObject_get_wgs84_nodes" SGBinObject_get_wgs84_nodes) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_wgs84_nodes" SGBinObject_set_wgs84_nodes) :void
  (self :pointer)
  (n :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_colors" SGBinObject_get_colors) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_colors" SGBinObject_set_colors) :void
  (self :pointer)
  (c :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_normals" SGBinObject_get_normals) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_normals" SGBinObject_set_normals) :void
  (self :pointer)
  (n :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_texcoords" SGBinObject_get_texcoords) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_texcoords" SGBinObject_set_texcoords) :void
  (self :pointer)
  (t_arg1 :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_pts_v" SGBinObject_get_pts_v) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_pts_v" SGBinObject_set_pts_v) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_pts_n" SGBinObject_get_pts_n) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_pts_n" SGBinObject_set_pts_n) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_pts_c" SGBinObject_get_pts_c) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_pts_c" SGBinObject_set_pts_c) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_pts_tc" SGBinObject_get_pts_tc) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_pts_tc" SGBinObject_set_pts_tc) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_pt_materials" SGBinObject_get_pt_materials) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_pt_materials" SGBinObject_set_pt_materials) :void
  (self :pointer)
  (s :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_tris_v" SGBinObject_get_tris_v) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_tris_v" SGBinObject_set_tris_v) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_tris_n" SGBinObject_get_tris_n) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_tris_n" SGBinObject_set_tris_n) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_tris_c" SGBinObject_get_tris_c) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_tris_c" SGBinObject_set_tris_c) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_tris_tc" SGBinObject_get_tris_tc) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_tris_tc" SGBinObject_set_tris_tc) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_tri_materials" SGBinObject_get_tri_materials) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_tri_materials" SGBinObject_set_tri_materials) :void
  (self :pointer)
  (s :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_strips_v" SGBinObject_get_strips_v) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_strips_v" SGBinObject_set_strips_v) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_strips_n" SGBinObject_get_strips_n) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_strips_n" SGBinObject_set_strips_n) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_strips_c" SGBinObject_get_strips_c) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_strips_c" SGBinObject_set_strips_c) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_strips_tc" SGBinObject_get_strips_tc) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_strips_tc" SGBinObject_set_strips_tc) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_strip_materials" SGBinObject_get_strip_materials) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_strip_materials" SGBinObject_set_strip_materials) :void
  (self :pointer)
  (s :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_fans_v" SGBinObject_get_fans_v) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_fans_v" SGBinObject_set_fans_v) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_fans_n" SGBinObject_get_fans_n) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_fans_n" SGBinObject_set_fans_n) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_fans_c" SGBinObject_get_fans_c) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_fans_c" SGBinObject_set_fans_c) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_fans_tc" SGBinObject_get_fans_tc) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_fans_tc" SGBinObject_set_fans_tc) :void
  (self :pointer)
  (g :pointer))

(cffi:defcfun ("_wrap_SGBinObject_get_fan_materials" SGBinObject_get_fan_materials) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinObject_set_fan_materials" SGBinObject_set_fan_materials) :void
  (self :pointer)
  (s :pointer))

(cffi:defcfun ("_wrap_SGBinObject_read_bin" SGBinObject_read_bin) :pointer
  (self :pointer)
  (file :pointer))

(cffi:defcfun ("_wrap_SGBinObject_write_bin" SGBinObject_write_bin) :pointer
  (self :pointer)
  (base :pointer)
  (name :pointer)
  (b :pointer))

(cffi:defcfun ("_wrap_SGBinObject_write_ascii" SGBinObject_write_ascii) :pointer
  (self :pointer)
  (base :pointer)
  (name :pointer)
  (b :pointer))

(cffi:defcfun ("_wrap_new_SGBinObject" new_SGBinObject) :pointer)

(cffi:defcfun ("_wrap_delete_SGBinObject" delete_SGBinObject) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGFile__SWIG_0" new_SGFile) :pointer
  (file :pointer)
  (repeat_ :int))

(cffi:defcfun ("_wrap_new_SGFile__SWIG_1" new_SGFile) :pointer
  (file :pointer))

(cffi:defcfun ("_wrap_delete_SGFile" delete_SGFile) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGFile_open" SGFile_open) :pointer
  (self :pointer)
  (dir SGProtocolDir))

(cffi:defcfun ("_wrap_SGFile_read" SGFile_read) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGFile_readline" SGFile_readline) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGFile_write" SGFile_write) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGFile_writestring" SGFile_writestring) :int
  (self :pointer)
  (str :string))

(cffi:defcfun ("_wrap_SGFile_close" SGFile_close) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGFile_get_file_name" SGFile_get_file_name) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGFile_eof" SGFile_eof) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_NetBuffer" new_NetBuffer) :pointer
  (_max_length :int))

(cffi:defcfun ("_wrap_delete_NetBuffer" delete_NetBuffer) :void
  (self :pointer))

(cffi:defcfun ("_wrap_NetBuffer_getLength" NetBuffer_getLength) :int
  (self :pointer))

(cffi:defcfun ("_wrap_NetBuffer_getMaxLength" NetBuffer_getMaxLength) :int
  (self :pointer))

(cffi:defcfun ("_wrap_NetBuffer_getData__SWIG_0" NetBuffer_getData) :string
  (self :pointer))

(cffi:defcfun ("_wrap_NetBuffer_getData__SWIG_1" NetBuffer_getData) :string
  (self :pointer))

(cffi:defcfun ("_wrap_NetBuffer_remove__SWIG_0" NetBuffer_remove) :void
  (self :pointer))

(cffi:defcfun ("_wrap_NetBuffer_remove__SWIG_1" NetBuffer_remove) :void
  (self :pointer)
  (pos :int)
  (n :int))

(cffi:defcfun ("_wrap_NetBuffer_append__SWIG_0" NetBuffer_append) :pointer
  (self :pointer)
  (s :string)
  (n :int))

(cffi:defcfun ("_wrap_NetBuffer_append__SWIG_1" NetBuffer_append) :pointer
  (self :pointer)
  (n :int))

(cffi:defcfun ("_wrap_new_NetBufferChannel__SWIG_0" new_NetBufferChannel) :pointer
  (in_buffer_size :int)
  (out_buffer_size :int))

(cffi:defcfun ("_wrap_new_NetBufferChannel__SWIG_1" new_NetBufferChannel) :pointer
  (in_buffer_size :int))

(cffi:defcfun ("_wrap_new_NetBufferChannel__SWIG_2" new_NetBufferChannel) :pointer)

(cffi:defcfun ("_wrap_NetBufferChannel_handleClose" NetBufferChannel_handleClose) :void
  (self :pointer))

(cffi:defcfun ("_wrap_NetBufferChannel_closeWhenDone" NetBufferChannel_closeWhenDone) :void
  (self :pointer))

(cffi:defcfun ("_wrap_NetBufferChannel_bufferSend" NetBufferChannel_bufferSend) :pointer
  (self :pointer)
  (msg :string)
  (msg_len :int))

(cffi:defcfun ("_wrap_NetBufferChannel_handleBufferRead" NetBufferChannel_handleBufferRead) :void
  (self :pointer)
  (buffer :pointer))

(cffi:defcfun ("_wrap_delete_NetBufferChannel" delete_NetBufferChannel) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_NetChat" new_NetChat) :pointer)

(cffi:defcfun ("_wrap_NetChat_setTerminator" NetChat_setTerminator) :void
  (self :pointer)
  (t_arg1 :string))

(cffi:defcfun ("_wrap_NetChat_getTerminator" NetChat_getTerminator) :string
  (self :pointer))

(cffi:defcfun ("_wrap_NetChat_push" NetChat_push) :pointer
  (self :pointer)
  (s :string))

(cffi:defcfun ("_wrap_NetChat_collectIncomingData" NetChat_collectIncomingData) :void
  (self :pointer)
  (s :string)
  (n :int))

(cffi:defcfun ("_wrap_NetChat_foundTerminator" NetChat_foundTerminator) :void
  (self :pointer))

(cffi:defcfun ("_wrap_delete_NetChat" delete_NetChat) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGSerial" new_SGSerial) :pointer
  (device_name :pointer)
  (baud_rate :pointer))

(cffi:defcfun ("_wrap_delete_SGSerial" delete_SGSerial) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSerial_open" SGSerial_open) :pointer
  (self :pointer)
  (d SGProtocolDir))

(cffi:defcfun ("_wrap_SGSerial_read" SGSerial_read) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSerial_readline" SGSerial_readline) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSerial_write" SGSerial_write) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSerial_writestring" SGSerial_writestring) :int
  (self :pointer)
  (str :string))

(cffi:defcfun ("_wrap_SGSerial_close" SGSerial_close) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSerial_get_device" SGSerial_get_device) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSerial_get_baud" SGSerial_get_baud) :pointer
  (self :pointer))

(cl:defconstant SG_MAX_SOCKET_QUEUE 32)

(cffi:defcfun ("_wrap_new_SGSocket" new_SGSocket) :pointer
  (host :pointer)
  (port :pointer)
  (style :pointer))

(cffi:defcfun ("_wrap_delete_SGSocket" delete_SGSocket) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSocket_open" SGSocket_open) :pointer
  (self :pointer)
  (d SGProtocolDir))

(cffi:defcfun ("_wrap_SGSocket_read" SGSocket_read) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSocket_readline" SGSocket_readline) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSocket_write" SGSocket_write) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSocket_writestring" SGSocket_writestring) :int
  (self :pointer)
  (str :string))

(cffi:defcfun ("_wrap_SGSocket_close" SGSocket_close) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSocket_nonblock" SGSocket_nonblock) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSocket_set_timeout" SGSocket_set_timeout) :void
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_SGSocket_get_hostname" SGSocket_get_hostname) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSocket_get_port_str" SGSocket_get_port_str) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGSocketUDP" new_SGSocketUDP) :pointer
  (host :pointer)
  (port :pointer))

(cffi:defcfun ("_wrap_delete_SGSocketUDP" delete_SGSocketUDP) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSocketUDP_open" SGSocketUDP_open) :pointer
  (self :pointer)
  (d SGProtocolDir))

(cffi:defcfun ("_wrap_SGSocketUDP_read" SGSocketUDP_read) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSocketUDP_readline" SGSocketUDP_readline) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSocketUDP_write" SGSocketUDP_write) :int
  (self :pointer)
  (buf :string)
  (length :int))

(cffi:defcfun ("_wrap_SGSocketUDP_writestring" SGSocketUDP_writestring) :int
  (self :pointer)
  (str :string))

(cffi:defcfun ("_wrap_SGSocketUDP_close" SGSocketUDP_close) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSocketUDP_setBlocking" SGSocketUDP_setBlocking) :pointer
  (self :pointer)
  (value :pointer))

(cffi:defcfun ("_wrap_SGSocketUDP_get_hostname" SGSocketUDP_get_hostname) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSocketUDP_get_port_str" SGSocketUDP_get_port_str) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_yymmdd_to_julian_days" yymmdd_to_julian_days) :unsigned-long
  (yy :int)
  (mm :int)
  (dd :int))

(cffi:defcfun ("_wrap_calc_magvar" calc_magvar) :double
  (lat :double)
  (lon :double)
  (h :double)
  (dat :long)
  (field :pointer))

(cffi:defcfun ("_wrap_new_SGMagVar" new_SGMagVar) :pointer)

(cffi:defcfun ("_wrap_delete_SGMagVar" delete_SGMagVar) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGMagVar_update__SWIG_0" SGMagVar_update) :void
  (self :pointer)
  (lon :double)
  (lat :double)
  (alt_m :double)
  (jd :double))

(cffi:defcfun ("_wrap_SGMagVar_update__SWIG_1" SGMagVar_update) :void
  (self :pointer)
  (geod :pointer)
  (jd :double))

(cffi:defcfun ("_wrap_SGMagVar_get_magvar" SGMagVar_get_magvar) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMagVar_get_magdip" SGMagVar_get_magdip) :double
  (self :pointer))

(cffi:defcfun ("_wrap_sgGetMagVar__SWIG_0" sgGetMagVar) :double
  (lon :double)
  (lat :double)
  (alt_m :double)
  (jd :double))

(cffi:defcfun ("_wrap_sgGetMagVar__SWIG_1" sgGetMagVar) :double
  (pos :pointer)
  (jd :double))

(cl:defconstant SIMGEAR_MATH_MATH_HXX 1)

(cffi:defcfun ("_wrap_new_SGGeoc" new_SGGeoc) :pointer)

(cffi:defcfun ("_wrap_SGGeoc_fromRadFt" SGGeoc_fromRadFt) :pointer
  (lon :double)
  (lat :double)
  (radius :double))

(cffi:defcfun ("_wrap_SGGeoc_fromDegFt" SGGeoc_fromDegFt) :pointer
  (lon :double)
  (lat :double)
  (radius :double))

(cffi:defcfun ("_wrap_SGGeoc_fromRadM" SGGeoc_fromRadM) :pointer
  (lon :double)
  (lat :double)
  (radius :double))

(cffi:defcfun ("_wrap_SGGeoc_fromDegM" SGGeoc_fromDegM) :pointer
  (lon :double)
  (lat :double)
  (radius :double))

(cffi:defcfun ("_wrap_SGGeoc_fromCart" SGGeoc_fromCart) :pointer
  (cart :pointer))

(cffi:defcfun ("_wrap_SGGeoc_fromGeod" SGGeoc_fromGeod) :pointer
  (geod :pointer))

(cffi:defcfun ("_wrap_SGGeoc_getLongitudeRad" SGGeoc_getLongitudeRad) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeoc_setLongitudeRad" SGGeoc_setLongitudeRad) :void
  (self :pointer)
  (lon :double))

(cffi:defcfun ("_wrap_SGGeoc_getLongitudeDeg" SGGeoc_getLongitudeDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeoc_setLongitudeDeg" SGGeoc_setLongitudeDeg) :void
  (self :pointer)
  (lon :double))

(cffi:defcfun ("_wrap_SGGeoc_getLatitudeRad" SGGeoc_getLatitudeRad) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeoc_setLatitudeRad" SGGeoc_setLatitudeRad) :void
  (self :pointer)
  (lat :double))

(cffi:defcfun ("_wrap_SGGeoc_getLatitudeDeg" SGGeoc_getLatitudeDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeoc_setLatitudeDeg" SGGeoc_setLatitudeDeg) :void
  (self :pointer)
  (lat :double))

(cffi:defcfun ("_wrap_SGGeoc_getRadiusM" SGGeoc_getRadiusM) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeoc_setRadiusM" SGGeoc_setRadiusM) :void
  (self :pointer)
  (radius :double))

(cffi:defcfun ("_wrap_SGGeoc_getRadiusFt" SGGeoc_getRadiusFt) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeoc_setRadiusFt" SGGeoc_setRadiusFt) :void
  (self :pointer)
  (radius :double))

(cffi:defcfun ("_wrap_SGGeoc_advanceRadM" SGGeoc_advanceRadM) :pointer
  (self :pointer)
  (course :double)
  (distance :double))

(cffi:defcfun ("_wrap_SGGeoc_courseRad" SGGeoc_courseRad) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeoc_courseDeg" SGGeoc_courseDeg) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeoc_distanceM" SGGeoc_distanceM) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeoc___eq__" SGGeoc___eq__) :pointer
  (self :pointer)
  (other :pointer))

(cffi:defcfun ("_wrap_delete_SGGeoc" delete_SGGeoc) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGGeod" new_SGGeod) :pointer)

(cffi:defcfun ("_wrap_SGGeod_fromRad" SGGeod_fromRad) :pointer
  (lon :double)
  (lat :double))

(cffi:defcfun ("_wrap_SGGeod_fromDeg" SGGeod_fromDeg) :pointer
  (lon :double)
  (lat :double))

(cffi:defcfun ("_wrap_SGGeod_fromRadFt" SGGeod_fromRadFt) :pointer
  (lon :double)
  (lat :double)
  (elevation :double))

(cffi:defcfun ("_wrap_SGGeod_fromDegFt" SGGeod_fromDegFt) :pointer
  (lon :double)
  (lat :double)
  (elevation :double))

(cffi:defcfun ("_wrap_SGGeod_fromRadM" SGGeod_fromRadM) :pointer
  (lon :double)
  (lat :double)
  (elevation :double))

(cffi:defcfun ("_wrap_SGGeod_fromDegM" SGGeod_fromDegM) :pointer
  (lon :double)
  (lat :double)
  (elevation :double))

(cffi:defcfun ("_wrap_SGGeod_fromGeodM" SGGeod_fromGeodM) :pointer
  (geod :pointer)
  (elevation :double))

(cffi:defcfun ("_wrap_SGGeod_fromGeodFt" SGGeod_fromGeodFt) :pointer
  (geod :pointer)
  (elevation :double))

(cffi:defcfun ("_wrap_SGGeod_fromCart" SGGeod_fromCart) :pointer
  (cart :pointer))

(cffi:defcfun ("_wrap_SGGeod_fromGeoc" SGGeod_fromGeoc) :pointer
  (geoc :pointer))

(cffi:defcfun ("_wrap_SGGeod_getLongitudeRad" SGGeod_getLongitudeRad) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_setLongitudeRad" SGGeod_setLongitudeRad) :void
  (self :pointer)
  (lon :double))

(cffi:defcfun ("_wrap_SGGeod_getLongitudeDeg" SGGeod_getLongitudeDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_setLongitudeDeg" SGGeod_setLongitudeDeg) :void
  (self :pointer)
  (lon :double))

(cffi:defcfun ("_wrap_SGGeod_getLatitudeRad" SGGeod_getLatitudeRad) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_setLatitudeRad" SGGeod_setLatitudeRad) :void
  (self :pointer)
  (lat :double))

(cffi:defcfun ("_wrap_SGGeod_getLatitudeDeg" SGGeod_getLatitudeDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_setLatitudeDeg" SGGeod_setLatitudeDeg) :void
  (self :pointer)
  (lat :double))

(cffi:defcfun ("_wrap_SGGeod_getElevationM" SGGeod_getElevationM) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_setElevationM" SGGeod_setElevationM) :void
  (self :pointer)
  (elevation :double))

(cffi:defcfun ("_wrap_SGGeod_getElevationFt" SGGeod_getElevationFt) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_setElevationFt" SGGeod_setElevationFt) :void
  (self :pointer)
  (elevation :double))

(cffi:defcfun ("_wrap_SGGeod___eq__" SGGeod___eq__) :pointer
  (self :pointer)
  (other :pointer))

(cffi:defcfun ("_wrap_SGGeod_makeSimulationFrameRelative" SGGeod_makeSimulationFrameRelative) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_makeSimulationFrame" SGGeod_makeSimulationFrame) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_makeZUpFrameRelative" SGGeod_makeZUpFrameRelative) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGGeod_makeZUpFrame" SGGeod_makeZUpFrame) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGGeod" delete_SGGeod) :void
  (self :pointer))

(cffi:defcvar ("SGGeodesy_EQURAD" SGGeodesy_EQURAD)
 :double)

(cffi:defcvar ("SGGeodesy_iFLATTENING" SGGeodesy_iFLATTENING)
 :double)

(cffi:defcvar ("SGGeodesy_SQUASH" SGGeodesy_SQUASH)
 :double)

(cffi:defcvar ("SGGeodesy_STRETCH" SGGeodesy_STRETCH)
 :double)

(cffi:defcvar ("SGGeodesy_POLRAD" SGGeodesy_POLRAD)
 :double)

(cffi:defcfun ("_wrap_SGGeodesy_SGCartToGeod" SGGeodesy_SGCartToGeod) :void
  (cart :pointer)
  (geod :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_SGGeodToCart" SGGeodesy_SGGeodToCart) :void
  (geod :pointer)
  (cart :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_SGGeodToSeaLevelRadius" SGGeodesy_SGGeodToSeaLevelRadius) :double
  (geod :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_SGCartToGeoc" SGGeodesy_SGCartToGeoc) :void
  (cart :pointer)
  (geoc :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_SGGeocToCart" SGGeodesy_SGGeocToCart) :void
  (geoc :pointer)
  (cart :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_direct" SGGeodesy_direct) :pointer
  (p1 :pointer)
  (course1 :double)
  (distance :double)
  (p2 :pointer)
  (course2 :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_inverse" SGGeodesy_inverse) :pointer
  (p1 :pointer)
  (p2 :pointer)
  (course1 :pointer)
  (course2 :pointer)
  (distance :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_courseDeg" SGGeodesy_courseDeg) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_distanceM__SWIG_0" SGGeodesy_distanceM) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_distanceNm" SGGeodesy_distanceNm) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_advanceRadM" SGGeodesy_advanceRadM) :void
  (geoc :pointer)
  (course :double)
  (distance :double)
  (result :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_courseRad" SGGeodesy_courseRad) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_distanceRad" SGGeodesy_distanceRad) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_distanceM__SWIG_1" SGGeodesy_distanceM) :double
  (from :pointer)
  (to :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_radialIntersection__SWIG_0" SGGeodesy_radialIntersection) :pointer
  (a :pointer)
  (aRadial :double)
  (b :pointer)
  (bRadial :double)
  (result :pointer))

(cffi:defcfun ("_wrap_SGGeodesy_radialIntersection__SWIG_1" SGGeodesy_radialIntersection) :pointer
  (a :pointer)
  (aRadial :double)
  (b :pointer)
  (bRadial :double)
  (result :pointer))

(cffi:defcfun ("_wrap_new_SGGeodesy" new_SGGeodesy) :pointer)

(cffi:defcfun ("_wrap_delete_SGGeodesy" delete_SGGeodesy) :void
  (self :pointer))

(cffi:defctype SGBoxf :pointer)

(cffi:defctype SGBoxd :pointer)

(cffi:defctype SGSpheref :pointer)

(cffi:defctype SGSphered :pointer)

(cffi:defctype SGRayf :pointer)

(cffi:defctype SGRayd :pointer)

(cffi:defctype SGLineSegmentf :pointer)

(cffi:defctype SGLineSegmentd :pointer)

(cffi:defctype SGPlanef :pointer)

(cffi:defctype SGPlaned :pointer)

(cffi:defctype SGTrianglef :pointer)

(cffi:defctype SGTriangled :pointer)

(cffi:defctype SGLimitsf :pointer)

(cffi:defctype SGLimitsd :pointer)

(cffi:defctype SGMatrixf :pointer)

(cffi:defctype SGMatrixd :pointer)

(cffi:defctype SGMiscf :pointer)

(cffi:defctype SGMiscd :pointer)

(cffi:defctype SGQuatf :pointer)

(cffi:defctype SGQuatd :pointer)

(cffi:defctype SGVec2f :pointer)

(cffi:defctype SGVec2d :pointer)

(cffi:defctype SGVec3f :pointer)

(cffi:defctype SGVec3d :pointer)

(cffi:defctype SGVec4f :pointer)

(cffi:defctype SGVec4d :pointer)

(cl:defconstant SIMGEAR_BEZIERCURVE_HXX 1)

(cffi:defcfun ("_wrap_new_SGInterpTable__SWIG_0" new_SGInterpTable) :pointer)

(cffi:defcfun ("_wrap_new_SGInterpTable__SWIG_1" new_SGInterpTable) :pointer
  (interpolation :pointer))

(cffi:defcfun ("_wrap_new_SGInterpTable__SWIG_2" new_SGInterpTable) :pointer
  (file :pointer))

(cffi:defcfun ("_wrap_SGInterpTable_addEntry" SGInterpTable_addEntry) :void
  (self :pointer)
  (ind :double)
  (dep :double))

(cffi:defcfun ("_wrap_SGInterpTable_interpolate" SGInterpTable_interpolate) :double
  (self :pointer)
  (x :double))

(cffi:defcfun ("_wrap_delete_SGInterpTable" delete_SGInterpTable) :void
  (self :pointer))

(cffi:defcfun ("_wrap_least_squares" least_squares) :void
  (x :pointer)
  (y :pointer)
  (n :int)
  (m :pointer)
  (b :pointer))

(cffi:defcfun ("_wrap_least_squares_update" least_squares_update) :void
  (x :double)
  (y :double)
  (m :pointer)
  (b :pointer))

(cffi:defcfun ("_wrap_least_squares_error" least_squares_error) :double
  (x :pointer)
  (y :pointer)
  (n :int)
  (m :double)
  (b :double))

(cffi:defcfun ("_wrap_least_squares_max_error" least_squares_max_error) :double
  (x :pointer)
  (y :pointer)
  (n :int)
  (m :double)
  (b :double))

(cffi:defcvar ("fgPoint3_Epsilon" fgPoint3_Epsilon)
 :double)

(defanonenum
	PX
	PY
	PZ)

(cffi:defcfun ("_wrap_new_Point3D__SWIG_0" new_Point3D) :pointer)

(cffi:defcfun ("_wrap_new_Point3D__SWIG_1" new_Point3D) :pointer
  (x :double)
  (y :double)
  (z :double))

(cffi:defcfun ("_wrap_new_Point3D__SWIG_2" new_Point3D) :pointer
  (d :double))

(cffi:defcfun ("_wrap_new_Point3D__SWIG_3" new_Point3D) :pointer
  (p :pointer))

(cffi:defcfun ("_wrap_Point3D_fromSGGeod" Point3D_fromSGGeod) :pointer
  (geod :pointer))

(cffi:defcfun ("_wrap_Point3D_fromSGGeoc" Point3D_fromSGGeoc) :pointer
  (geoc :pointer))

(cffi:defcfun ("_wrap_Point3D_fromSGVec3__SWIG_0" Point3D_fromSGVec3) :pointer
  (cart :pointer))

(cffi:defcfun ("_wrap_Point3D_fromSGVec3__SWIG_1" Point3D_fromSGVec3) :pointer
  (cart :pointer))

(cffi:defcfun ("_wrap_Point3D_fromSGVec2" Point3D_fromSGVec2) :pointer
  (cart :pointer))

(cffi:defcfun ("_wrap_Point3D___assign__" Point3D___assign__) :pointer
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_Point3D___add_assign__" Point3D___add_assign__) :pointer
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_Point3D___sub_assign__" Point3D___sub_assign__) :pointer
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_Point3D___mul_assign__" Point3D___mul_assign__) :pointer
  (self :pointer)
  (d :double))

(cffi:defcfun ("_wrap_Point3D___div_assign__" Point3D___div_assign__) :pointer
  (self :pointer)
  (d :double))

(cffi:defcfun ("_wrap_Point3D_setx" Point3D_setx) :void
  (self :pointer)
  (x :double))

(cffi:defcfun ("_wrap_Point3D_sety" Point3D_sety) :void
  (self :pointer)
  (y :double))

(cffi:defcfun ("_wrap_Point3D_setz" Point3D_setz) :void
  (self :pointer)
  (z :double))

(cffi:defcfun ("_wrap_Point3D_setlon" Point3D_setlon) :void
  (self :pointer)
  (x :double))

(cffi:defcfun ("_wrap_Point3D_setlat" Point3D_setlat) :void
  (self :pointer)
  (y :double))

(cffi:defcfun ("_wrap_Point3D_setradius" Point3D_setradius) :void
  (self :pointer)
  (z :double))

(cffi:defcfun ("_wrap_Point3D_setelev" Point3D_setelev) :void
  (self :pointer)
  (z :double))

(cffi:defcfun ("_wrap_Point3D___aref____SWIG_0" Point3D___aref__) :pointer
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_Point3D___aref____SWIG_1" Point3D___aref__) :double
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_Point3D_get_n" Point3D_get_n) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_x" Point3D_x) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_y" Point3D_y) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_z" Point3D_z) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_lon" Point3D_lon) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_lat" Point3D_lat) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_radius" Point3D_radius) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_elev" Point3D_elev) :double
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_toSGGeod" Point3D_toSGGeod) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_toSGGeoc" Point3D_toSGGeoc) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_toSGVec3d" Point3D_toSGVec3d) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_toSGVec3f" Point3D_toSGVec3f) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_toSGVec2f" Point3D_toSGVec2f) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_Point3D_distance3D" Point3D_distance3D) :double
  (self :pointer)
  (a :pointer))

(cffi:defcfun ("_wrap_Point3D_distance3Dsquared" Point3D_distance3Dsquared) :double
  (self :pointer)
  (a :pointer))

(cffi:defcfun ("_wrap_delete_Point3D" delete_Point3D) :void
  (self :pointer))

(cffi:defcfun ("_wrap_calc_gc_lon_lat" calc_gc_lon_lat) :pointer
  (orig :pointer)
  (course :double)
  (dist :double))

(cffi:defcfun ("_wrap_calc_gc_course_dist" calc_gc_course_dist) :void
  (start :pointer)
  (dest :pointer)
  (course :pointer)
  (dist :pointer))

(cl:defconstant SIMGEAR_PROJECT_HXX 1)

(cffi:defcfun ("_wrap_project" project) :pointer
  (objX :pointer)
  (objY :pointer)
  (objZ :pointer)
  (model :pointer)
  (proj :pointer)
  (view :pointer)
  (winX :pointer)
  (winY :pointer)
  (winZ :pointer))

(cffi:defcfun ("_wrap_sgGeodToGeoc" sgGeodToGeoc) :void
  (lat_geod :double)
  (alt :double)
  (sl_radius :pointer)
  (lat_geoc :pointer))

(cffi:defcfun ("_wrap_sgCartToGeod" sgCartToGeod) :void
  (xyz :pointer)
  (lat :pointer)
  (lon :pointer)
  (alt :pointer))

(cffi:defcfun ("_wrap_sgGeodToCart" sgGeodToCart) :void
  (lat :double)
  (lon :double)
  (alt :double)
  (xyz :pointer))

(cffi:defcfun ("_wrap_geo_direct_wgs_84__SWIG_0" geo_direct_wgs_84) :int
  (lat1 :double)
  (lon1 :double)
  (az1 :double)
  (s :double)
  (lat2 :pointer)
  (lon2 :pointer)
  (az2 :pointer))

(cffi:defcfun ("_wrap_geo_direct_wgs_84__SWIG_1" geo_direct_wgs_84) :int
  (alt :double)
  (lat1 :double)
  (lon1 :double)
  (az1 :double)
  (s :double)
  (lat2 :pointer)
  (lon2 :pointer)
  (az2 :pointer))

(cffi:defcfun ("_wrap_geo_direct_wgs_84__SWIG_2" geo_direct_wgs_84) :int
  (p1 :pointer)
  (az1 :double)
  (s :double)
  (p2 :pointer)
  (az2 :pointer))

(cffi:defcfun ("_wrap_geo_inverse_wgs_84__SWIG_0" geo_inverse_wgs_84) :int
  (lat1 :double)
  (lon1 :double)
  (lat2 :double)
  (lon2 :double)
  (az1 :pointer)
  (az2 :pointer)
  (s :pointer))

(cffi:defcfun ("_wrap_geo_inverse_wgs_84__SWIG_1" geo_inverse_wgs_84) :int
  (alt :double)
  (lat1 :double)
  (lon1 :double)
  (lat2 :double)
  (lon2 :double)
  (az1 :pointer)
  (az2 :pointer)
  (s :pointer))

(cffi:defcfun ("_wrap_geo_inverse_wgs_84__SWIG_2" geo_inverse_wgs_84) :int
  (p1 :pointer)
  (p2 :pointer)
  (az1 :pointer)
  (az2 :pointer)
  (s :pointer))

(cffi:defctype int_list :pointer)

(cffi:defctype int_list_iterator :pointer)

(cffi:defctype const_int_list_iterator :pointer)

(cffi:defctype double_list :pointer)

(cffi:defctype double_list_iterator :pointer)

(cffi:defctype const_double_list_iterator :pointer)

(cffi:defctype string_list :pointer)

(cffi:defctype string_list_iterator :pointer)

(cffi:defctype const_string_list_iterator :pointer)

(cl:defconstant PATHOPTIONSHXX 1)

(cffi:defcfun ("_wrap_makeOptionsFromPath" makeOptionsFromPath) :pointer
  (arg0 :pointer))

(cffi:defcenum Priority
	(:PRIORITY_DEFAULT #.0)
	(:PRIORITY_FALLBACK #.-100)
	(:PRIORITY_NORMAL #.100)
	(:PRIORITY_HIGH #.1000))

(cffi:defcfun ("_wrap_ResourceManager_instance" ResourceManager_instance) :pointer)

(cffi:defcfun ("_wrap_ResourceManager_addBasePath__SWIG_0" ResourceManager_addBasePath) :void
  (self :pointer)
  (aPath :pointer)
  (aPriority :pointer))

(cffi:defcfun ("_wrap_ResourceManager_addBasePath__SWIG_1" ResourceManager_addBasePath) :void
  (self :pointer)
  (aPath :pointer))

(cffi:defcfun ("_wrap_ResourceManager_addProvider" ResourceManager_addProvider) :void
  (self :pointer)
  (aProvider :pointer))

(cffi:defcfun ("_wrap_ResourceManager_findPath__SWIG_0" ResourceManager_findPath) :pointer
  (self :pointer)
  (aResource :pointer)
  (aContext :pointer))

(cffi:defcfun ("_wrap_ResourceManager_findPath__SWIG_1" ResourceManager_findPath) :pointer
  (self :pointer)
  (aResource :pointer))

(cffi:defcfun ("_wrap_delete_ResourceManager" delete_ResourceManager) :void
  (self :pointer))

(cffi:defcfun ("_wrap_ResourceProvider_resolve" ResourceProvider_resolve) :pointer
  (self :pointer)
  (aResource :pointer)
  (aContext :pointer))

(cffi:defcfun ("_wrap_ResourceProvider_priority" ResourceProvider_priority) :int
  (self :pointer))

(cffi:defcfun ("_wrap_delete_ResourceProvider" delete_ResourceProvider) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGInterpolator" new_SGInterpolator) :pointer)

(cffi:defcfun ("_wrap_SGInterpolator_init" SGInterpolator_init) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGInterpolator_update" SGInterpolator_update) :void
  (self :pointer)
  (delta_time_sec :double))

(cffi:defcfun ("_wrap_SGInterpolator_interpolate__SWIG_0" SGInterpolator_interpolate) :void
  (self :pointer)
  (prop :pointer)
  (value :double)
  (dt_sec :double))

(cffi:defcfun ("_wrap_SGInterpolator_interpolate__SWIG_1" SGInterpolator_interpolate) :void
  (self :pointer)
  (prop :pointer)
  (nPoints :int)
  (values :pointer)
  (deltas :pointer))

(cffi:defcfun ("_wrap_SGInterpolator_cancel" SGInterpolator_cancel) :void
  (self :pointer)
  (prop :pointer))

(cffi:defcfun ("_wrap_delete_SGInterpolator" delete_SGInterpolator) :void
  (self :pointer))

(cffi:defctype simgear::PathList :pointer)

(cffi:defcfun ("_wrap_new_Dir__SWIG_0" new_Dir) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_new_Dir__SWIG_1" new_Dir) :pointer
  (rel :pointer)
  (relPath :pointer))

(cffi:defcenum FileTypes
	(:TYPE_FILE #.1)
	(:TYPE_DIR #.2)
	(:NO_DOT_OR_DOTDOT #.(cl:ash 1 12))
	(:INCLUDE_HIDDEN #.(cl:ash 1 13)))

(cffi:defcfun ("_wrap_Dir_children__SWIG_0" Dir_children) :pointer
  (self :pointer)
  (types :int)
  (nameGlob :pointer))

(cffi:defcfun ("_wrap_Dir_children__SWIG_1" Dir_children) :pointer
  (self :pointer)
  (types :int))

(cffi:defcfun ("_wrap_Dir_children__SWIG_2" Dir_children) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_Dir_file" Dir_file) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_Dir_exists" Dir_exists) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_Dir" delete_Dir) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGPath__SWIG_0" new_SGPath) :pointer)

(cffi:defcfun ("_wrap_new_SGPath__SWIG_1" new_SGPath) :pointer
  (p :pointer))

(cffi:defcfun ("_wrap_SGPath___assign____SWIG_0" SGPath___assign__) :pointer
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_new_SGPath__SWIG_2" new_SGPath) :pointer
  (p :pointer))

(cffi:defcfun ("_wrap_new_SGPath__SWIG_3" new_SGPath) :pointer
  (p :pointer)
  (r :pointer))

(cffi:defcfun ("_wrap_delete_SGPath" delete_SGPath) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_set" SGPath_set) :void
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_SGPath___assign____SWIG_1" SGPath___assign__) :pointer
  (self :pointer)
  (p :string))

(cffi:defcfun ("_wrap_SGPath_append" SGPath_append) :void
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_SGPath_add" SGPath_add) :void
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_SGPath_concat" SGPath_concat) :void
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_SGPath_file" SGPath_file) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_dir" SGPath_dir) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_base" SGPath_base) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_extension" SGPath_extension) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_str" SGPath_str) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_c_str" SGPath_c_str) :string
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_exists" SGPath_exists) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_create_dir" SGPath_create_dir) :int
  (self :pointer)
  (mode :pointer))

(cffi:defcfun ("_wrap_SGPath_isFile" SGPath_isFile) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_isDir" SGPath_isDir) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_isRelative" SGPath_isRelative) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_isAbsolute" SGPath_isAbsolute) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPath_isNull" SGPath_isNull) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_sgPathBranchSplit" sgPathBranchSplit) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_sgPathSplit" sgPathSplit) :pointer
  (search_path :pointer))

(cffi:defcfun ("_wrap_sleepForSeconds" sleepForSeconds) :void
  (seconds :int))

(cffi:defcfun ("_wrap_sleepForMSec" sleepForMSec) :void
  (msec :int))

(cffi:defcfun ("_wrap_new_sg_gzifstream__SWIG_0" new_sg_gzifstream) :pointer)

(cffi:defcfun ("_wrap_new_sg_gzifstream__SWIG_1" new_sg_gzifstream) :pointer
  (name :pointer)
  (io_mode :pointer))

(cffi:defcfun ("_wrap_new_sg_gzifstream__SWIG_2" new_sg_gzifstream) :pointer
  (name :pointer))

(cffi:defcfun ("_wrap_new_sg_gzifstream__SWIG_3" new_sg_gzifstream) :pointer
  (fd :int)
  (io_mode :pointer))

(cffi:defcfun ("_wrap_new_sg_gzifstream__SWIG_4" new_sg_gzifstream) :pointer
  (fd :int))

(cffi:defcfun ("_wrap_sg_gzifstream_open__SWIG_0" sg_gzifstream_open) :void
  (self :pointer)
  (name :pointer)
  (io_mode :pointer))

(cffi:defcfun ("_wrap_sg_gzifstream_open__SWIG_1" sg_gzifstream_open) :void
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_sg_gzifstream_attach__SWIG_0" sg_gzifstream_attach) :void
  (self :pointer)
  (fd :int)
  (io_mode :pointer))

(cffi:defcfun ("_wrap_sg_gzifstream_attach__SWIG_1" sg_gzifstream_attach) :void
  (self :pointer)
  (fd :int))

(cffi:defcfun ("_wrap_sg_gzifstream_close" sg_gzifstream_close) :void
  (self :pointer))

(cffi:defcfun ("_wrap_sg_gzifstream_is_open" sg_gzifstream_is_open) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_sg_gzifstream" delete_sg_gzifstream) :void
  (self :pointer))

(cffi:defcfun ("_wrap_skipeol" skipeol) :pointer
  (in :pointer))

(cffi:defcfun ("_wrap_skipws" skipws) :pointer
  (in :pointer))

(cffi:defcfun ("_wrap_skipcomment" skipcomment) :pointer
  (in :pointer))

(cl:defconstant _STDINT_HXX 1)

(cffi:defcfun ("_wrap_sg_bswap_16" sg_bswap_16) :pointer
  (x :pointer))

(cffi:defcfun ("_wrap_sg_bswap_32" sg_bswap_32) :pointer
  (x :pointer))

(cffi:defcfun ("_wrap_sg_bswap_64" sg_bswap_64) :pointer
  (x :pointer))

(cffi:defcfun ("_wrap_sgIsLittleEndian" sgIsLittleEndian) :pointer)

(cffi:defcfun ("_wrap_sgIsBigEndian" sgIsBigEndian) :pointer)

(cffi:defcfun ("_wrap_sgEndianSwap__SWIG_0" sgEndianSwap) :void
  (x :pointer))

(cffi:defcfun ("_wrap_sgEndianSwap__SWIG_1" sgEndianSwap) :void
  (x :pointer))

(cffi:defcfun ("_wrap_sgEndianSwap__SWIG_2" sgEndianSwap) :void
  (x :pointer))

(cffi:defcfun ("_wrap_new_StopWatch" new_StopWatch) :pointer)

(cffi:defcfun ("_wrap_StopWatch_start" StopWatch_start) :void
  (self :pointer))

(cffi:defcfun ("_wrap_StopWatch_stop" StopWatch_stop) :void
  (self :pointer))

(cffi:defcfun ("_wrap_StopWatch_elapsedSeconds" StopWatch_elapsedSeconds) :double
  (self :pointer))

(cffi:defcfun ("_wrap_delete_StopWatch" delete_StopWatch) :void
  (self :pointer))

(cffi:defcfun ("_wrap_lstrip" lstrip) :pointer
  (s :pointer))

(cffi:defcfun ("_wrap_rstrip" rstrip) :pointer
  (s :pointer))

(cffi:defcfun ("_wrap_strip" strip) :pointer
  (s :pointer))

(cffi:defcfun ("_wrap_rpad" rpad) :pointer
  (s :pointer)
  (length :pointer)
  (c :char))

(cffi:defcfun ("_wrap_lpad" lpad) :pointer
  (s :pointer)
  (length :pointer)
  (c :char))

(cffi:defcfun ("_wrap_split__SWIG_0" split) :pointer
  (s :pointer)
  (sep :string)
  (maxsplit :int))

(cffi:defcfun ("_wrap_split__SWIG_1" split) :pointer
  (s :pointer)
  (sep :string))

(cffi:defcfun ("_wrap_split__SWIG_2" split) :pointer
  (s :pointer))

(cffi:defcfun ("_wrap_starts_with" starts_with) :pointer
  (s :pointer)
  (substr :pointer))

(cffi:defcfun ("_wrap_ends_with" ends_with) :pointer
  (s :pointer)
  (substr :pointer))

(cffi:defcfun ("_wrap_new_SGTabbedValues" new_SGTabbedValues) :pointer
  (line :string))

(cffi:defcfun ("_wrap_SGTabbedValues___aref__" SGTabbedValues___aref__) :pointer
  (self :pointer)
  (arg1 :unsigned-int))

(cffi:defcfun ("_wrap_SGTabbedValues_isValueAt" SGTabbedValues_isValueAt) :pointer
  (self :pointer)
  (arg1 :unsigned-int))

(cffi:defcfun ("_wrap_SGTabbedValues_getDoubleAt" SGTabbedValues_getDoubleAt) :double
  (self :pointer)
  (arg1 :unsigned-int))

(cffi:defcfun ("_wrap_SGTabbedValues_getCharAt" SGTabbedValues_getCharAt) :char
  (self :pointer)
  (arg1 :unsigned-int))

(cffi:defcfun ("_wrap_SGTabbedValues_getLongAt" SGTabbedValues_getLongAt) :long
  (self :pointer)
  (arg1 :unsigned-int))

(cffi:defcfun ("_wrap_delete_SGTabbedValues" delete_SGTabbedValues) :void
  (self :pointer))

(cffi:defcfun ("_wrap_sgCalcTexCoords__SWIG_0" sgCalcTexCoords) :pointer
  (b :pointer)
  (geod_nodes :pointer)
  (fan :pointer)
  (scale :double))

(cffi:defcfun ("_wrap_sgCalcTexCoords__SWIG_1" sgCalcTexCoords) :pointer
  (b :pointer)
  (geod_nodes :pointer)
  (fan :pointer))

(cffi:defcfun ("_wrap_sgCalcTexCoords__SWIG_2" sgCalcTexCoords) :pointer
  (centerLat :double)
  (geod_nodes :pointer)
  (fan :pointer)
  (scale :double))

(cffi:defcfun ("_wrap_sgCalcTexCoords__SWIG_3" sgCalcTexCoords) :pointer
  (centerLat :double)
  (geod_nodes :pointer)
  (fan :pointer))

(cffi:defcfun ("_wrap_new_gzfilebuf" new_gzfilebuf) :pointer)

(cffi:defcfun ("_wrap_delete_gzfilebuf" delete_gzfilebuf) :void
  (self :pointer))

(cffi:defcfun ("_wrap_gzfilebuf_open" gzfilebuf_open) :pointer
  (self :pointer)
  (name :string)
  (io_mode :pointer))

(cffi:defcfun ("_wrap_gzfilebuf_attach" gzfilebuf_attach) :pointer
  (self :pointer)
  (file_descriptor :int)
  (io_mode :pointer))

(cffi:defcfun ("_wrap_gzfilebuf_close" gzfilebuf_close) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_gzfilebuf_is_open" gzfilebuf_is_open) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_gzfilebuf_seekoff" gzfilebuf_seekoff) :pointer
  (self :pointer)
  (off :pointer)
  (way :pointer)
  (which :int))

(cffi:defcfun ("_wrap_gzfilebuf_sync" gzfilebuf_sync) :int
  (self :pointer))

(defanonenum
	(page_size #.4096))

(cffi:defcstruct gzifstream_base
	(gzbuf :pointer))

(cl:defconstant SIMGEAR_ATOMICCHANGELISTENER_HXX 1)

(cffi:defcfun ("_wrap_new_MultiChangeListener" new_MultiChangeListener) :pointer)

(cffi:defcfun ("_wrap_delete_MultiChangeListener" delete_MultiChangeListener) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_AtomicChangeListener" new_AtomicChangeListener) :pointer
  (nodes :pointer))

(cffi:defcfun ("_wrap_AtomicChangeListener_isDirty" AtomicChangeListener_isDirty) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_AtomicChangeListener_isValid" AtomicChangeListener_isValid) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_AtomicChangeListener_unregister_property" AtomicChangeListener_unregister_property) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_AtomicChangeListener_fireChangeListeners" AtomicChangeListener_fireChangeListeners) :void)

(cffi:defcfun ("_wrap_delete_AtomicChangeListener" delete_AtomicChangeListener) :void
  (self :pointer))

(cl:defconstant SIMGEAR_EXTENDEDPROPERTYADAPTER_HXX 1)

(cffi:defcfun ("_wrap_delete_SGCondition" delete_SGCondition) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCondition_test" SGCondition_test) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGConditional" new_SGConditional) :pointer)

(cffi:defcfun ("_wrap_delete_SGConditional" delete_SGConditional) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGConditional_setCondition" SGConditional_setCondition) :void
  (self :pointer)
  (condition :pointer))

(cffi:defcfun ("_wrap_SGConditional_getCondition" SGConditional_getCondition) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGConditional_test" SGConditional_test) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_sgReadCondition" sgReadCondition) :pointer
  (prop_root :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_PropertyObjectBase_setDefaultRoot" PropertyObjectBase_setDefaultRoot) :void
  (aRoot :pointer))

(cffi:defcfun ("_wrap_new_PropertyObjectBase__SWIG_0" new_PropertyObjectBase) :pointer
  (aOther :pointer))

(cffi:defcfun ("_wrap_new_PropertyObjectBase__SWIG_1" new_PropertyObjectBase) :pointer
  (aChild :string))

(cffi:defcfun ("_wrap_new_PropertyObjectBase__SWIG_2" new_PropertyObjectBase) :pointer
  (aNode :pointer)
  (aChild :string))

(cffi:defcfun ("_wrap_new_PropertyObjectBase__SWIG_3" new_PropertyObjectBase) :pointer
  (aNode :pointer))

(cffi:defcfun ("_wrap_PropertyObjectBase_node" PropertyObjectBase_node) :pointer
  (self :pointer)
  (aCreate :pointer))

(cffi:defcfun ("_wrap_PropertyObjectBase_getOrThrow" PropertyObjectBase_getOrThrow) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_PropertyObjectBase" delete_PropertyObjectBase) :void
  (self :pointer))

(cl:defconstant PROPS_STANDALONE 0)

(cffi:defcenum Type
	(:NONE #.0)
	:ALIAS
	:BOOL
	:INT
	:LONG
	:FLOAT
	:DOUBLE
	:STRING
	:UNSPECIFIED
	:EXTENDED
	:VEC3D
	:VEC4D)

(cffi:defcfun ("_wrap_SGRaw_getType" SGRaw_getType) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGRaw" delete_SGRaw) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGRaw_clone" SGRaw_clone) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGRawExtended_makeContainer" SGRawExtended_makeContainer) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGRawExtended_printOn" SGRawExtended_printOn) :pointer
  (self :pointer)
  (stream :pointer))

(cffi:defcfun ("_wrap_SGRawExtended_readFrom" SGRawExtended_readFrom) :pointer
  (self :pointer)
  (stream :pointer))

(cffi:defcfun ("_wrap_delete_SGRawExtended" delete_SGRawExtended) :void
  (self :pointer))

(cffi:defctype SGPropertyNode_ptr :pointer)

(cffi:defctype SGConstPropertyNode_ptr :pointer)

(cffi:defctype simgear::PropertyList :pointer)

(cffi:defcfun ("_wrap_delete_SGPropertyChangeListener" delete_SGPropertyChangeListener) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyChangeListener_valueChanged" SGPropertyChangeListener_valueChanged) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SGPropertyChangeListener_childAdded" SGPropertyChangeListener_childAdded) :void
  (self :pointer)
  (parent :pointer)
  (child :pointer))

(cffi:defcfun ("_wrap_SGPropertyChangeListener_childRemoved" SGPropertyChangeListener_childRemoved) :void
  (self :pointer)
  (parent :pointer)
  (child :pointer))

(cffi:defcfun ("_wrap_new_SGPropertyChangeListener" new_SGPropertyChangeListener) :pointer)

(defanonenum
	(MAX_STRING_LEN #.1024))

(cffi:defcenum Attribute
	(:READ #.1)
	(:WRITE #.2)
	(:ARCHIVE #.4)
	(:REMOVED #.8)
	(:TRACE_READ #.16)
	(:TRACE_WRITE #.32)
	(:USERARCHIVE #.64))

(cffi:defcvar ("SGPropertyNode_LAST_USED_ATTRIBUTE" SGPropertyNode_LAST_USED_ATTRIBUTE)
 :int)

(cffi:defcfun ("_wrap_new_SGPropertyNode__SWIG_0" new_SGPropertyNode) :pointer)

(cffi:defcfun ("_wrap_new_SGPropertyNode__SWIG_1" new_SGPropertyNode) :pointer
  (node :pointer))

(cffi:defcfun ("_wrap_delete_SGPropertyNode" delete_SGPropertyNode) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_hasValue__SWIG_0" SGPropertyNode_hasValue) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getName" SGPropertyNode_getName) :string
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getNameString" SGPropertyNode_getNameString) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getDisplayName__SWIG_0" SGPropertyNode_getDisplayName) :pointer
  (self :pointer)
  (simplify :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getDisplayName__SWIG_1" SGPropertyNode_getDisplayName) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getIndex" SGPropertyNode_getIndex) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getParent__SWIG_0" SGPropertyNode_getParent) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getParent__SWIG_1" SGPropertyNode_getParent) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_nChildren" SGPropertyNode_nChildren) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_0" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (position :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_1" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (position :int))

(cffi:defcfun ("_wrap_SGPropertyNode_hasChild__SWIG_0" SGPropertyNode_hasChild) :pointer
  (self :pointer)
  (name :string)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_hasChild__SWIG_1" SGPropertyNode_hasChild) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_SGPropertyNode_hasChild__SWIG_2" SGPropertyNode_hasChild) :pointer
  (self :pointer)
  (name :pointer)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_hasChild__SWIG_3" SGPropertyNode_hasChild) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_addChild" SGPropertyNode_addChild) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_2" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :string)
  (index :int)
  (create :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_3" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :string)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_4" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_5" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :pointer)
  (index :int)
  (create :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_6" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :pointer)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_7" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_8" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :string)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_9" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_10" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :pointer)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getChild__SWIG_11" SGPropertyNode_getChild) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getChildren__SWIG_0" SGPropertyNode_getChildren) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getChildren__SWIG_1" SGPropertyNode_getChildren) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChild__SWIG_0" SGPropertyNode_removeChild) :pointer
  (self :pointer)
  (pos :int)
  (keep :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChild__SWIG_1" SGPropertyNode_removeChild) :pointer
  (self :pointer)
  (pos :int))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChild__SWIG_2" SGPropertyNode_removeChild) :pointer
  (self :pointer)
  (name :string)
  (index :int)
  (keep :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChild__SWIG_3" SGPropertyNode_removeChild) :pointer
  (self :pointer)
  (name :string)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChild__SWIG_4" SGPropertyNode_removeChild) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChild__SWIG_5" SGPropertyNode_removeChild) :pointer
  (self :pointer)
  (name :pointer)
  (index :int)
  (keep :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChild__SWIG_6" SGPropertyNode_removeChild) :pointer
  (self :pointer)
  (name :pointer)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChild__SWIG_7" SGPropertyNode_removeChild) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChildren__SWIG_0" SGPropertyNode_removeChildren) :pointer
  (self :pointer)
  (name :string)
  (keep :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChildren__SWIG_1" SGPropertyNode_removeChildren) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChildren__SWIG_2" SGPropertyNode_removeChildren) :pointer
  (self :pointer)
  (name :pointer)
  (keep :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChildren__SWIG_3" SGPropertyNode_removeChildren) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_alias__SWIG_0" SGPropertyNode_alias) :pointer
  (self :pointer)
  (target :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_alias__SWIG_1" SGPropertyNode_alias) :pointer
  (self :pointer)
  (path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_alias__SWIG_2" SGPropertyNode_alias) :pointer
  (self :pointer)
  (path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_unalias" SGPropertyNode_unalias) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_isAlias" SGPropertyNode_isAlias) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getAliasTarget__SWIG_0" SGPropertyNode_getAliasTarget) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getAliasTarget__SWIG_1" SGPropertyNode_getAliasTarget) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getPath__SWIG_0" SGPropertyNode_getPath) :pointer
  (self :pointer)
  (simplify :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getPath__SWIG_1" SGPropertyNode_getPath) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getRootNode__SWIG_0" SGPropertyNode_getRootNode) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getRootNode__SWIG_1" SGPropertyNode_getRootNode) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_0" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :string)
  (create :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_1" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_2" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :pointer)
  (create :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_3" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_4" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :string)
  (index :int)
  (create :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_5" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :string)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_6" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :pointer)
  (index :int)
  (create :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_7" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :pointer)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_8" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_9" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_10" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :string)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getNode__SWIG_11" SGPropertyNode_getNode) :pointer
  (self :pointer)
  (relative_path :pointer)
  (index :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getAttribute" SGPropertyNode_getAttribute) :pointer
  (self :pointer)
  (attr :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setAttribute" SGPropertyNode_setAttribute) :void
  (self :pointer)
  (attr :pointer)
  (state :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getAttributes" SGPropertyNode_getAttributes) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setAttributes" SGPropertyNode_setAttributes) :void
  (self :pointer)
  (attr :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getType__SWIG_0" SGPropertyNode_getType) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getBoolValue__SWIG_0" SGPropertyNode_getBoolValue) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getIntValue__SWIG_0" SGPropertyNode_getIntValue) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getLongValue__SWIG_0" SGPropertyNode_getLongValue) :long
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getFloatValue__SWIG_0" SGPropertyNode_getFloatValue) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getDoubleValue__SWIG_0" SGPropertyNode_getDoubleValue) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getStringValue__SWIG_0" SGPropertyNode_getStringValue) :string
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setBoolValue__SWIG_0" SGPropertyNode_setBoolValue) :pointer
  (self :pointer)
  (value :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setIntValue__SWIG_0" SGPropertyNode_setIntValue) :pointer
  (self :pointer)
  (value :int))

(cffi:defcfun ("_wrap_SGPropertyNode_setLongValue__SWIG_0" SGPropertyNode_setLongValue) :pointer
  (self :pointer)
  (value :long))

(cffi:defcfun ("_wrap_SGPropertyNode_setFloatValue__SWIG_0" SGPropertyNode_setFloatValue) :pointer
  (self :pointer)
  (value :float))

(cffi:defcfun ("_wrap_SGPropertyNode_setDoubleValue__SWIG_0" SGPropertyNode_setDoubleValue) :pointer
  (self :pointer)
  (value :double))

(cffi:defcfun ("_wrap_SGPropertyNode_setStringValue__SWIG_0" SGPropertyNode_setStringValue) :pointer
  (self :pointer)
  (value :string))

(cffi:defcfun ("_wrap_SGPropertyNode_setStringValue__SWIG_1" SGPropertyNode_setStringValue) :pointer
  (self :pointer)
  (value :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setUnspecifiedValue__SWIG_0" SGPropertyNode_setUnspecifiedValue) :pointer
  (self :pointer)
  (value :string))

(cffi:defcfun ("_wrap_SGPropertyNode_printOn" SGPropertyNode_printOn) :pointer
  (self :pointer)
  (stream :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_isTied__SWIG_0" SGPropertyNode_isTied) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_untie__SWIG_0" SGPropertyNode_untie) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getType__SWIG_1" SGPropertyNode_getType) :pointer
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getType__SWIG_2" SGPropertyNode_getType) :pointer
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_hasValue__SWIG_1" SGPropertyNode_hasValue) :pointer
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_hasValue__SWIG_2" SGPropertyNode_hasValue) :pointer
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getBoolValue__SWIG_1" SGPropertyNode_getBoolValue) :pointer
  (self :pointer)
  (relative_path :string)
  (defaultValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getBoolValue__SWIG_2" SGPropertyNode_getBoolValue) :pointer
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getBoolValue__SWIG_3" SGPropertyNode_getBoolValue) :pointer
  (self :pointer)
  (relative_path :pointer)
  (defaultValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getBoolValue__SWIG_4" SGPropertyNode_getBoolValue) :pointer
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getIntValue__SWIG_1" SGPropertyNode_getIntValue) :int
  (self :pointer)
  (relative_path :string)
  (defaultValue :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getIntValue__SWIG_2" SGPropertyNode_getIntValue) :int
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getIntValue__SWIG_3" SGPropertyNode_getIntValue) :int
  (self :pointer)
  (relative_path :pointer)
  (defaultValue :int))

(cffi:defcfun ("_wrap_SGPropertyNode_getIntValue__SWIG_4" SGPropertyNode_getIntValue) :int
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getLongValue__SWIG_1" SGPropertyNode_getLongValue) :long
  (self :pointer)
  (relative_path :string)
  (defaultValue :long))

(cffi:defcfun ("_wrap_SGPropertyNode_getLongValue__SWIG_2" SGPropertyNode_getLongValue) :long
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getLongValue__SWIG_3" SGPropertyNode_getLongValue) :long
  (self :pointer)
  (relative_path :pointer)
  (defaultValue :long))

(cffi:defcfun ("_wrap_SGPropertyNode_getLongValue__SWIG_4" SGPropertyNode_getLongValue) :long
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getFloatValue__SWIG_1" SGPropertyNode_getFloatValue) :float
  (self :pointer)
  (relative_path :string)
  (defaultValue :float))

(cffi:defcfun ("_wrap_SGPropertyNode_getFloatValue__SWIG_2" SGPropertyNode_getFloatValue) :float
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getFloatValue__SWIG_3" SGPropertyNode_getFloatValue) :float
  (self :pointer)
  (relative_path :pointer)
  (defaultValue :float))

(cffi:defcfun ("_wrap_SGPropertyNode_getFloatValue__SWIG_4" SGPropertyNode_getFloatValue) :float
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getDoubleValue__SWIG_1" SGPropertyNode_getDoubleValue) :double
  (self :pointer)
  (relative_path :string)
  (defaultValue :double))

(cffi:defcfun ("_wrap_SGPropertyNode_getDoubleValue__SWIG_2" SGPropertyNode_getDoubleValue) :double
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getDoubleValue__SWIG_3" SGPropertyNode_getDoubleValue) :double
  (self :pointer)
  (relative_path :pointer)
  (defaultValue :double))

(cffi:defcfun ("_wrap_SGPropertyNode_getDoubleValue__SWIG_4" SGPropertyNode_getDoubleValue) :double
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_getStringValue__SWIG_1" SGPropertyNode_getStringValue) :string
  (self :pointer)
  (relative_path :string)
  (defaultValue :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getStringValue__SWIG_2" SGPropertyNode_getStringValue) :string
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getStringValue__SWIG_3" SGPropertyNode_getStringValue) :string
  (self :pointer)
  (relative_path :pointer)
  (defaultValue :string))

(cffi:defcfun ("_wrap_SGPropertyNode_getStringValue__SWIG_4" SGPropertyNode_getStringValue) :string
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setBoolValue__SWIG_1" SGPropertyNode_setBoolValue) :pointer
  (self :pointer)
  (relative_path :string)
  (value :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setBoolValue__SWIG_2" SGPropertyNode_setBoolValue) :pointer
  (self :pointer)
  (relative_path :pointer)
  (value :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setIntValue__SWIG_1" SGPropertyNode_setIntValue) :pointer
  (self :pointer)
  (relative_path :string)
  (value :int))

(cffi:defcfun ("_wrap_SGPropertyNode_setIntValue__SWIG_2" SGPropertyNode_setIntValue) :pointer
  (self :pointer)
  (relative_path :pointer)
  (value :int))

(cffi:defcfun ("_wrap_SGPropertyNode_setLongValue__SWIG_1" SGPropertyNode_setLongValue) :pointer
  (self :pointer)
  (relative_path :string)
  (value :long))

(cffi:defcfun ("_wrap_SGPropertyNode_setLongValue__SWIG_2" SGPropertyNode_setLongValue) :pointer
  (self :pointer)
  (relative_path :pointer)
  (value :long))

(cffi:defcfun ("_wrap_SGPropertyNode_setFloatValue__SWIG_1" SGPropertyNode_setFloatValue) :pointer
  (self :pointer)
  (relative_path :string)
  (value :float))

(cffi:defcfun ("_wrap_SGPropertyNode_setFloatValue__SWIG_2" SGPropertyNode_setFloatValue) :pointer
  (self :pointer)
  (relative_path :pointer)
  (value :float))

(cffi:defcfun ("_wrap_SGPropertyNode_setDoubleValue__SWIG_1" SGPropertyNode_setDoubleValue) :pointer
  (self :pointer)
  (relative_path :string)
  (value :double))

(cffi:defcfun ("_wrap_SGPropertyNode_setDoubleValue__SWIG_2" SGPropertyNode_setDoubleValue) :pointer
  (self :pointer)
  (relative_path :pointer)
  (value :double))

(cffi:defcfun ("_wrap_SGPropertyNode_setStringValue__SWIG_2" SGPropertyNode_setStringValue) :pointer
  (self :pointer)
  (relative_path :string)
  (value :string))

(cffi:defcfun ("_wrap_SGPropertyNode_setStringValue__SWIG_3" SGPropertyNode_setStringValue) :pointer
  (self :pointer)
  (relative_path :string)
  (value :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setStringValue__SWIG_4" SGPropertyNode_setStringValue) :pointer
  (self :pointer)
  (relative_path :pointer)
  (value :string))

(cffi:defcfun ("_wrap_SGPropertyNode_setStringValue__SWIG_5" SGPropertyNode_setStringValue) :pointer
  (self :pointer)
  (relative_path :pointer)
  (value :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_setUnspecifiedValue__SWIG_1" SGPropertyNode_setUnspecifiedValue) :pointer
  (self :pointer)
  (relative_path :string)
  (value :string))

(cffi:defcfun ("_wrap_SGPropertyNode_isTied__SWIG_1" SGPropertyNode_isTied) :pointer
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_isTied__SWIG_2" SGPropertyNode_isTied) :pointer
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_2" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_3" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_4" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_5" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_6" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_7" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_8" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_9" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_10" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_11" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_12" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_13" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_14" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_15" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_16" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_17" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_18" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_19" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_20" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_21" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_22" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_23" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :string)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_24" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer)
  (useDefault :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_tie__SWIG_25" SGPropertyNode_tie) :pointer
  (self :pointer)
  (relative_path :pointer)
  (rawValue :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_untie__SWIG_1" SGPropertyNode_untie) :pointer
  (self :pointer)
  (relative_path :string))

(cffi:defcfun ("_wrap_SGPropertyNode_untie__SWIG_2" SGPropertyNode_untie) :pointer
  (self :pointer)
  (relative_path :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_addChangeListener__SWIG_0" SGPropertyNode_addChangeListener) :void
  (self :pointer)
  (listener :pointer)
  (initial :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_addChangeListener__SWIG_1" SGPropertyNode_addChangeListener) :void
  (self :pointer)
  (listener :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_removeChangeListener" SGPropertyNode_removeChangeListener) :void
  (self :pointer)
  (listener :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_nListeners" SGPropertyNode_nListeners) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_fireValueChanged" SGPropertyNode_fireValueChanged) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_fireChildAdded" SGPropertyNode_fireChildAdded) :void
  (self :pointer)
  (child :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_fireChildRemoved" SGPropertyNode_fireChildRemoved) :void
  (self :pointer)
  (child :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_clearValue" SGPropertyNode_clearValue) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGPropertyNode_compare" SGPropertyNode_compare) :pointer
  (lhs :pointer)
  (rhs :pointer))

(cffi:defcfun ("_wrap_hash_value" hash_value) :pointer
  (node :pointer))

(cffi:defcfun ("_wrap_setValue__SWIG_0" setValue) :pointer
  (node :pointer)
  (value :pointer))

(cffi:defcfun ("_wrap_setValue__SWIG_1" setValue) :pointer
  (node :pointer)
  (value :int))

(cffi:defcfun ("_wrap_setValue__SWIG_2" setValue) :pointer
  (node :pointer)
  (value :long))

(cffi:defcfun ("_wrap_setValue__SWIG_3" setValue) :pointer
  (node :pointer)
  (value :float))

(cffi:defcfun ("_wrap_setValue__SWIG_4" setValue) :pointer
  (node :pointer)
  (value :double))

(cffi:defcfun ("_wrap_setValue__SWIG_5" setValue) :pointer
  (node :pointer)
  (value :string))

(cffi:defcfun ("_wrap_setValue__SWIG_6" setValue) :pointer
  (node :pointer)
  (value :pointer))

(cffi:defcfun ("_wrap_makeChild__SWIG_0" makeChild) :pointer
  (parent :pointer)
  (name :string)
  (index :int))

(cffi:defcfun ("_wrap_makeChild__SWIG_1" makeChild) :pointer
  (parent :pointer)
  (name :string))

(cffi:defcstruct Compare
	(__funcall__ :pointer)
	(__funcall__ :pointer)
	(__funcall__ :pointer)
	(__funcall__ :pointer))

(cffi:defcstruct Hash
	(__funcall__ :pointer)
	(__funcall__ :pointer))

(cffi:defcfun ("_wrap_readProperties__SWIG_0" readProperties) :void
  (input :pointer)
  (start_node :pointer)
  (base :pointer)
  (default_mode :int)
  (extended :pointer))

(cffi:defcfun ("_wrap_readProperties__SWIG_1" readProperties) :void
  (input :pointer)
  (start_node :pointer)
  (base :pointer)
  (default_mode :int))

(cffi:defcfun ("_wrap_readProperties__SWIG_2" readProperties) :void
  (input :pointer)
  (start_node :pointer)
  (base :pointer))

(cffi:defcfun ("_wrap_readProperties__SWIG_3" readProperties) :void
  (input :pointer)
  (start_node :pointer))

(cffi:defcfun ("_wrap_readProperties__SWIG_4" readProperties) :void
  (file :pointer)
  (start_node :pointer)
  (default_mode :int)
  (extended :pointer))

(cffi:defcfun ("_wrap_readProperties__SWIG_5" readProperties) :void
  (file :pointer)
  (start_node :pointer)
  (default_mode :int))

(cffi:defcfun ("_wrap_readProperties__SWIG_6" readProperties) :void
  (file :pointer)
  (start_node :pointer))

(cffi:defcfun ("_wrap_readProperties__SWIG_7" readProperties) :void
  (buf :string)
  (size :int)
  (start_node :pointer)
  (default_mode :int)
  (extended :pointer))

(cffi:defcfun ("_wrap_readProperties__SWIG_8" readProperties) :void
  (buf :string)
  (size :int)
  (start_node :pointer)
  (default_mode :int))

(cffi:defcfun ("_wrap_readProperties__SWIG_9" readProperties) :void
  (buf :string)
  (size :int)
  (start_node :pointer))

(cffi:defcfun ("_wrap_writeProperties__SWIG_0" writeProperties) :void
  (output :pointer)
  (start_node :pointer)
  (write_all :pointer)
  (archive_flag :pointer))

(cffi:defcfun ("_wrap_writeProperties__SWIG_1" writeProperties) :void
  (output :pointer)
  (start_node :pointer)
  (write_all :pointer))

(cffi:defcfun ("_wrap_writeProperties__SWIG_2" writeProperties) :void
  (output :pointer)
  (start_node :pointer))

(cffi:defcfun ("_wrap_writeProperties__SWIG_3" writeProperties) :void
  (file :pointer)
  (start_node :pointer)
  (write_all :pointer)
  (archive_flag :pointer))

(cffi:defcfun ("_wrap_writeProperties__SWIG_4" writeProperties) :void
  (file :pointer)
  (start_node :pointer)
  (write_all :pointer))

(cffi:defcfun ("_wrap_writeProperties__SWIG_5" writeProperties) :void
  (file :pointer)
  (start_node :pointer))

(cffi:defcfun ("_wrap_copyProperties" copyProperties) :pointer
  (in :pointer)
  (out :pointer))

(cffi:defcfun ("_wrap_new_SGRoute" new_SGRoute) :pointer)

(cffi:defcfun ("_wrap_delete_SGRoute" delete_SGRoute) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_clear" SGRoute_clear) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_add_waypoint__SWIG_0" SGRoute_add_waypoint) :void
  (self :pointer)
  (wp :pointer)
  (n :int))

(cffi:defcfun ("_wrap_SGRoute_add_waypoint__SWIG_1" SGRoute_add_waypoint) :void
  (self :pointer)
  (wp :pointer))

(cffi:defcfun ("_wrap_SGRoute_size" SGRoute_size) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_get_first" SGRoute_get_first) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_get_current" SGRoute_get_current) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_get_previous" SGRoute_get_previous) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_get_next" SGRoute_get_next) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_set_current" SGRoute_set_current) :void
  (self :pointer)
  (n :int))

(cffi:defcfun ("_wrap_SGRoute_current_index" SGRoute_current_index) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_increment_current" SGRoute_increment_current) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_get_waypoint" SGRoute_get_waypoint) :pointer
  (self :pointer)
  (n :int))

(cffi:defcfun ("_wrap_SGRoute_delete_first" SGRoute_delete_first) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_delete_waypoint__SWIG_0" SGRoute_delete_waypoint) :void
  (self :pointer)
  (n :int))

(cffi:defcfun ("_wrap_SGRoute_delete_waypoint__SWIG_1" SGRoute_delete_waypoint) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGRoute_total_distance" SGRoute_total_distance) :double
  (self :pointer))

(cffi:defcenum modetype
	(:WGS84 #.0))

(cffi:defcfun ("_wrap_new_SGWayPoint__SWIG_0" new_SGWayPoint) :pointer
  (lon :double)
  (lat :double)
  (alt :double)
  (m :pointer)
  (s :pointer)
  (n :pointer))

(cffi:defcfun ("_wrap_new_SGWayPoint__SWIG_1" new_SGWayPoint) :pointer
  (lon :double)
  (lat :double)
  (alt :double)
  (m :pointer)
  (s :pointer))

(cffi:defcfun ("_wrap_new_SGWayPoint__SWIG_2" new_SGWayPoint) :pointer
  (lon :double)
  (lat :double)
  (alt :double)
  (m :pointer))

(cffi:defcfun ("_wrap_new_SGWayPoint__SWIG_3" new_SGWayPoint) :pointer
  (lon :double)
  (lat :double)
  (alt :double))

(cffi:defcfun ("_wrap_new_SGWayPoint__SWIG_4" new_SGWayPoint) :pointer
  (lon :double)
  (lat :double))

(cffi:defcfun ("_wrap_new_SGWayPoint__SWIG_5" new_SGWayPoint) :pointer
  (lon :double))

(cffi:defcfun ("_wrap_new_SGWayPoint__SWIG_6" new_SGWayPoint) :pointer)

(cffi:defcfun ("_wrap_new_SGWayPoint__SWIG_7" new_SGWayPoint) :pointer
  (pos :pointer)
  (s :pointer)
  (n :pointer))

(cffi:defcfun ("_wrap_delete_SGWayPoint" delete_SGWayPoint) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_CourseAndDistance__SWIG_0" SGWayPoint_CourseAndDistance) :void
  (self :pointer)
  (cur_lon :double)
  (cur_lat :double)
  (cur_alt :double)
  (course :pointer)
  (dist :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_CourseAndDistance__SWIG_1" SGWayPoint_CourseAndDistance) :void
  (self :pointer)
  (current :pointer)
  (course :pointer)
  (dist :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_CourseAndDistance__SWIG_2" SGWayPoint_CourseAndDistance) :void
  (self :pointer)
  (wp :pointer)
  (course :pointer)
  (dist :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_get_target_lon" SGWayPoint_get_target_lon) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_get_target_lat" SGWayPoint_get_target_lat) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_get_target_alt" SGWayPoint_get_target_alt) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_get_target" SGWayPoint_get_target) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_setTargetAltFt" SGWayPoint_setTargetAltFt) :void
  (self :pointer)
  (elev :double))

(cffi:defcfun ("_wrap_SGWayPoint_get_distance" SGWayPoint_get_distance) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_set_distance" SGWayPoint_set_distance) :void
  (self :pointer)
  (d :double))

(cffi:defcfun ("_wrap_SGWayPoint_get_track" SGWayPoint_get_track) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_set_track" SGWayPoint_set_track) :void
  (self :pointer)
  (t_arg1 :double))

(cffi:defcfun ("_wrap_SGWayPoint_get_speed" SGWayPoint_get_speed) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_set_speed" SGWayPoint_set_speed) :void
  (self :pointer)
  (v :double))

(cffi:defcfun ("_wrap_SGWayPoint_get_id" SGWayPoint_get_id) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGWayPoint_get_name" SGWayPoint_get_name) :pointer
  (self :pointer))

(cl:defconstant SIMGEAR_EFFECT_CULL_VISITOR_HXX 1)

(cffi:defcfun ("_wrap_new_EffectCullVisitor__SWIG_0" new_EffectCullVisitor) :pointer)

(cffi:defcfun ("_wrap_new_EffectCullVisitor__SWIG_1" new_EffectCullVisitor) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_EffectCullVisitor_clone" EffectCullVisitor_clone) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_EffectCullVisitor_apply__SWIG_1" EffectCullVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_delete_EffectCullVisitor" delete_EffectCullVisitor) :void
  (self :pointer))

(cl:defconstant SIMGEAR_GLPREDICATE_HXX 1)

(cffi:defcstruct GLPredicate
	(__funcall__ :pointer)
	(majorVersion :int)
	(minorVersion :int)
	(extensions :pointer))

(cl:defconstant SIMGEAR_PASS_HXX 1)

(cffi:defcfun ("_wrap_new_Pass__SWIG_0" new_Pass) :pointer)

(cffi:defcfun ("_wrap_new_Pass__SWIG_1" new_Pass) :pointer
  (rhs :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_Pass__SWIG_2" new_Pass) :pointer
  (rhs :pointer))

(cffi:defcfun ("_wrap_delete_Pass" delete_Pass) :void
  (self :pointer))

(cffi:defcfun ("_wrap_reload_shaders" reload_shaders) :void)

(cffi:defcfun ("_wrap_new_SGMaterial__SWIG_0" new_SGMaterial) :pointer
  (arg0 :pointer)
  (props :pointer))

(cffi:defcfun ("_wrap_new_SGMaterial__SWIG_1" new_SGMaterial) :pointer
  (arg0 :pointer)
  (props :pointer))

(cffi:defcfun ("_wrap_delete_SGMaterial" delete_SGMaterial) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_effect__SWIG_0" SGMaterial_get_effect) :pointer
  (self :pointer)
  (n :int))

(cffi:defcfun ("_wrap_SGMaterial_get_effect__SWIG_1" SGMaterial_get_effect) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_num" SGMaterial_get_num) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_xsize" SGMaterial_get_xsize) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_ysize" SGMaterial_get_ysize) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_light_coverage" SGMaterial_get_light_coverage) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_wood_coverage" SGMaterial_get_wood_coverage) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_tree_density" SGMaterial_get_tree_density) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_wood_size" SGMaterial_get_wood_size) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_tree_height" SGMaterial_get_tree_height) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_tree_width" SGMaterial_get_tree_width) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_tree_range" SGMaterial_get_tree_range) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_tree_varieties" SGMaterial_get_tree_varieties) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_tree_texture" SGMaterial_get_tree_texture) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_solid" SGMaterial_get_solid) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_friction_factor" SGMaterial_get_friction_factor) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_rolling_friction" SGMaterial_get_rolling_friction) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_bumpiness" SGMaterial_get_bumpiness) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_load_resistance" SGMaterial_get_load_resistance) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_names" SGMaterial_get_names) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_add_name" SGMaterial_add_name) :void
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_object_group_count" SGMaterial_get_object_group_count) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_object_group" SGMaterial_get_object_group) :pointer
  (self :pointer)
  (index :int))

(cffi:defcfun ("_wrap_SGMaterial_get_glyph" SGMaterial_get_glyph) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGMaterial_set_light_color" SGMaterial_set_light_color) :void
  (self :pointer)
  (color :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_light_color" SGMaterial_get_light_color) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterial_get_tex_coord_scale" SGMaterial_get_tex_coord_scale) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGMaterialGlyph" new_SGMaterialGlyph) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_SGMaterialGlyph_get_left" SGMaterialGlyph_get_left) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterialGlyph_get_right" SGMaterialGlyph_get_right) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMaterialGlyph_get_width" SGMaterialGlyph_get_width) :double
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGMaterialGlyph" delete_SGMaterialGlyph) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGMaterialUserData" new_SGMaterialUserData) :pointer
  (material :pointer))

(cffi:defcfun ("_wrap_SGMaterialUserData_getMaterial" SGMaterialUserData_getMaterial) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGMaterialUserData" delete_SGMaterialUserData) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSetTextureFilter" SGSetTextureFilter) :void
  (max :int))

(cffi:defcfun ("_wrap_SGGetTextureFilter" SGGetTextureFilter) :int)

(cffi:defcenum HeadingType
	:HEADING_FIXED
	:HEADING_BILLBOARD
	:HEADING_RANDOM)

(cffi:defcfun ("_wrap_SGMatModel_get_model_count" SGMatModel_get_model_count) :int
  (self :pointer)
  (prop_root :pointer))

(cffi:defcfun ("_wrap_SGMatModel_get_random_model" SGMatModel_get_random_model) :pointer
  (self :pointer)
  (prop_root :pointer)
  (seed :pointer))

(cffi:defcfun ("_wrap_SGMatModel_get_coverage_m2" SGMatModel_get_coverage_m2) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMatModel_get_range_m" SGMatModel_get_range_m) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMatModel_get_randomized_range_m" SGMatModel_get_randomized_range_m) :double
  (self :pointer)
  (seed :pointer))

(cffi:defcfun ("_wrap_SGMatModel_get_heading_type" SGMatModel_get_heading_type) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGMatModel" delete_SGMatModel) :void
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGMatModelGroup" delete_SGMatModelGroup) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGMatModelGroup_get_range_m" SGMatModelGroup_get_range_m) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGMatModelGroup_get_object_count" SGMatModelGroup_get_object_count) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGMatModelGroup_get_object" SGMatModelGroup_get_object) :pointer
  (self :pointer)
  (index :int))

(cl:defconstant SIMGEAR_MIPMAP_HXX 1)

(cffi:defcenum MipMapFunction
	:AUTOMATIC
	:AVERAGE
	:SUM
	:PRODUCT
	:MIN
	:MAX)

(cffi:defctype simgear::effect::MipMapTuple :pointer)

(cffi:defcfun ("_wrap_makeMipMapTuple" makeMipMapTuple) :pointer
  (effect :pointer)
  (props :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_computeMipmap" computeMipmap) :pointer
  (image :pointer)
  (attrs :pointer))

(cffi:defcfun ("_wrap_new_CheckSceneryVisitor" new_CheckSceneryVisitor) :pointer
  (dbp :pointer)
  (position :pointer)
  (range :double)
  (framestamp :pointer))

(cffi:defcfun ("_wrap_CheckSceneryVisitor_apply__SWIG_0" CheckSceneryVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_CheckSceneryVisitor_apply__SWIG_1" CheckSceneryVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_CheckSceneryVisitor_apply__SWIG_2" CheckSceneryVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_CheckSceneryVisitor_isLoaded" CheckSceneryVisitor_isLoaded) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_CheckSceneryVisitor_setLoaded" CheckSceneryVisitor_setLoaded) :void
  (self :pointer)
  (l :pointer))

(cffi:defcfun ("_wrap_CheckSceneryVisitor_getPosition" CheckSceneryVisitor_getPosition) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_CheckSceneryVisitor" delete_CheckSceneryVisitor) :void
  (self :pointer))

(cl:defconstant SIMGEAR_CONDITIONNODE_HXX 1)

(cffi:defcfun ("_wrap_new_ConditionNode__SWIG_0" new_ConditionNode) :pointer)

(cffi:defcfun ("_wrap_new_ConditionNode__SWIG_1" new_ConditionNode) :pointer
  (rhs :pointer)
  (op :pointer))

(cffi:defcfun ("_wrap_new_ConditionNode__SWIG_2" new_ConditionNode) :pointer
  (rhs :pointer))

(cffi:defcfun ("_wrap_delete_ConditionNode" delete_ConditionNode) :void
  (self :pointer))

(cffi:defcfun ("_wrap_ConditionNode_getCondition" ConditionNode_getCondition) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_ConditionNode_setCondition" ConditionNode_setCondition) :void
  (self :pointer)
  (condition :pointer))

(cffi:defcfun ("_wrap_ConditionNode_traverse" ConditionNode_traverse) :void
  (self :pointer)
  (nv :pointer))

(cl:defconstant _SG_MODELREGISTRY_HXX 1)

(cffi:defcstruct DefaultProcessPolicy
	(process :pointer))

(cffi:defcstruct DefaultCachePolicy
	(find :pointer)
	(addToCache :pointer))

(cffi:defcstruct NoCachePolicy
	(find :pointer)
	(addToCache :pointer))

(cffi:defcfun ("_wrap_new_OptimizeModelPolicy" new_OptimizeModelPolicy) :pointer
  (extension :pointer))

(cffi:defcfun ("_wrap_OptimizeModelPolicy_optimize" OptimizeModelPolicy_optimize) :pointer
  (self :pointer)
  (node :pointer)
  (fileName :pointer)
  (opt :pointer))

(cffi:defcfun ("_wrap_delete_OptimizeModelPolicy" delete_OptimizeModelPolicy) :void
  (self :pointer))

(cffi:defcstruct NoOptimizePolicy
	(optimize :pointer))

(cffi:defcstruct OSGSubstitutePolicy
	(substitute :pointer))

(cffi:defcstruct NoSubstitutePolicy
	(substitute :pointer))

(cffi:defcstruct BuildLeafBVHPolicy
	(buildBVH :pointer))

(cffi:defcstruct BuildGroupBVHPolicy
	(buildBVH :pointer))

(cffi:defcstruct NoBuildBVHPolicy
	(buildBVH :pointer))

(cffi:defctype simgear::DefaultCallback :pointer)

(cffi:defcfun ("_wrap_new_ModelRegistry" new_ModelRegistry) :pointer)

(cffi:defcfun ("_wrap_ModelRegistry_readImage" ModelRegistry_readImage) :pointer
  (self :pointer)
  (fileName :pointer)
  (opt :pointer))

(cffi:defcfun ("_wrap_ModelRegistry_readNode" ModelRegistry_readNode) :pointer
  (self :pointer)
  (fileName :pointer)
  (opt :pointer))

(cffi:defcfun ("_wrap_ModelRegistry_addImageCallbackForExtension" ModelRegistry_addImageCallbackForExtension) :void
  (self :pointer)
  (extension :pointer)
  (callback :pointer))

(cffi:defcfun ("_wrap_ModelRegistry_addNodeCallbackForExtension" ModelRegistry_addNodeCallbackForExtension) :void
  (self :pointer)
  (extension :pointer)
  (callback :pointer))

(cffi:defcfun ("_wrap_delete_ModelRegistry" delete_ModelRegistry) :void
  (self :pointer))

(cffi:defctype simgear::LoadOnlyCallback :pointer)

(cffi:defcfun ("_wrap_new_SGClipGroup__SWIG_0" new_SGClipGroup) :pointer)

(cffi:defcfun ("_wrap_new_SGClipGroup__SWIG_1" new_SGClipGroup) :pointer
  (arg0 :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGClipGroup__SWIG_2" new_SGClipGroup) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_SGClipGroup_computeBound" SGClipGroup_computeBound) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGClipGroup_addClipPlane" SGClipGroup_addClipPlane) :void
  (self :pointer)
  (num :unsigned-int)
  (p0 :pointer)
  (p1 :pointer))

(cffi:defcfun ("_wrap_SGClipGroup_setDrawArea__SWIG_0" SGClipGroup_setDrawArea) :void
  (self :pointer)
  (lowerLeft :pointer)
  (upperRight :pointer))

(cffi:defcfun ("_wrap_SGClipGroup_setDrawArea__SWIG_1" SGClipGroup_setDrawArea) :void
  (self :pointer)
  (bottomLeft :pointer)
  (topLeft :pointer)
  (bottomRight :pointer)
  (topRight :pointer))

(cffi:defcfun ("_wrap_delete_SGClipGroup" delete_SGClipGroup) :void
  (self :pointer))

(cl:defconstant _SG_SGINTERACTIONANIMATION_HXX 1)

(cffi:defcfun ("_wrap_new_SGInteractionAnimation" new_SGInteractionAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGInteractionAnimation_install" SGInteractionAnimation_install) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_delete_SGInteractionAnimation" delete_SGInteractionAnimation) :void
  (self :pointer))

(cl:defconstant _SG_MATERIALANIMATION_HXX 1)

(cffi:defcfun ("_wrap_new_SGMaterialAnimation" new_SGMaterialAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_SGMaterialAnimation_createAnimationGroup" SGMaterialAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_SGMaterialAnimation_install" SGMaterialAnimation_install) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SGMaterialAnimation_makeEffectProperties" SGMaterialAnimation_makeEffectProperties) :pointer
  (animProp :pointer))

(cffi:defcfun ("_wrap_delete_SGMaterialAnimation" delete_SGMaterialAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGOffsetTransform__SWIG_0" new_SGOffsetTransform) :pointer
  (scaleFactor :double))

(cffi:defcfun ("_wrap_new_SGOffsetTransform__SWIG_1" new_SGOffsetTransform) :pointer)

(cffi:defcfun ("_wrap_new_SGOffsetTransform__SWIG_2" new_SGOffsetTransform) :pointer
  (arg0 :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGOffsetTransform__SWIG_3" new_SGOffsetTransform) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_SGOffsetTransform_getScaleFactor" SGOffsetTransform_getScaleFactor) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGOffsetTransform_setScaleFactor" SGOffsetTransform_setScaleFactor) :void
  (self :pointer)
  (scaleFactor :double))

(cffi:defcfun ("_wrap_SGOffsetTransform_computeLocalToWorldMatrix" SGOffsetTransform_computeLocalToWorldMatrix) :pointer
  (self :pointer)
  (matrix :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_SGOffsetTransform_computeWorldToLocalMatrix" SGOffsetTransform_computeWorldToLocalMatrix) :pointer
  (self :pointer)
  (matrix :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_delete_SGOffsetTransform" delete_SGOffsetTransform) :void
  (self :pointer))

(cl:defconstant SGPAGEDLOD_HXX 1)

(cffi:defcfun ("_wrap_new_SGPagedLOD__SWIG_0" new_SGPagedLOD) :pointer)

(cffi:defcfun ("_wrap_new_SGPagedLOD__SWIG_1" new_SGPagedLOD) :pointer
  (arg0 :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGPagedLOD__SWIG_2" new_SGPagedLOD) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_SGPagedLOD_forceLoad" SGPagedLOD_forceLoad) :void
  (self :pointer)
  (dbp :pointer)
  (framestamp :pointer)
  (path :pointer))

(cffi:defcfun ("_wrap_SGPagedLOD_addChild" SGPagedLOD_addChild) :pointer
  (self :pointer)
  (child :pointer))

(cffi:defcfun ("_wrap_SGPagedLOD_setReaderWriterOptions" SGPagedLOD_setReaderWriterOptions) :void
  (self :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_SGPagedLOD_getReaderWriterOptions" SGPagedLOD_getReaderWriterOptions) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGPagedLOD_setRenderingCache" SGPagedLOD_setRenderingCache) :void
  (cache :pointer))

(cl:defconstant SGREADERWRITERXMLOPTIONS_HXX 1)

(cffi:defctype panel_func :pointer)

(cffi:defcfun ("_wrap_new_SGReaderWriterXMLOptions__SWIG_0" new_SGReaderWriterXMLOptions) :pointer)

(cffi:defcfun ("_wrap_new_SGReaderWriterXMLOptions__SWIG_1" new_SGReaderWriterXMLOptions) :pointer
  (str :pointer))

(cffi:defcfun ("_wrap_new_SGReaderWriterXMLOptions__SWIG_2" new_SGReaderWriterXMLOptions) :pointer
  (options :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGReaderWriterXMLOptions__SWIG_3" new_SGReaderWriterXMLOptions) :pointer
  (options :pointer))

(cffi:defcfun ("_wrap_new_SGReaderWriterXMLOptions__SWIG_4" new_SGReaderWriterXMLOptions) :pointer
  (options :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGReaderWriterXMLOptions__SWIG_5" new_SGReaderWriterXMLOptions) :pointer
  (options :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterXMLOptions_getPropRoot" SGReaderWriterXMLOptions_getPropRoot) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterXMLOptions_getLoadPanel" SGReaderWriterXMLOptions_getLoadPanel) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterXMLOptions_getModelData" SGReaderWriterXMLOptions_getModelData) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterXMLOptions_getInstantiateEffects" SGReaderWriterXMLOptions_getInstantiateEffects) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterXMLOptions_setPropRoot" SGReaderWriterXMLOptions_setPropRoot) :void
  (self :pointer)
  (p :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterXMLOptions_setLoadPanel" SGReaderWriterXMLOptions_setLoadPanel) :void
  (self :pointer)
  (pf :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterXMLOptions_setModelData" SGReaderWriterXMLOptions_setModelData) :void
  (self :pointer)
  (d :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterXMLOptions_setInstantiateEffects" SGReaderWriterXMLOptions_setInstantiateEffects) :void
  (self :pointer)
  (doit :pointer))

(cffi:defcfun ("_wrap_new_SGRotateTransform__SWIG_0" new_SGRotateTransform) :pointer)

(cffi:defcfun ("_wrap_new_SGRotateTransform__SWIG_1" new_SGRotateTransform) :pointer
  (arg0 :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGRotateTransform__SWIG_2" new_SGRotateTransform) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_setCenter__SWIG_0" SGRotateTransform_setCenter) :void
  (self :pointer)
  (center :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_setCenter__SWIG_1" SGRotateTransform_setCenter) :void
  (self :pointer)
  (center :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_getCenter" SGRotateTransform_getCenter) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_setAxis__SWIG_0" SGRotateTransform_setAxis) :void
  (self :pointer)
  (axis :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_setAxis__SWIG_1" SGRotateTransform_setAxis) :void
  (self :pointer)
  (axis :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_getAxis" SGRotateTransform_getAxis) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_setAngleRad" SGRotateTransform_setAngleRad) :void
  (self :pointer)
  (angle :double))

(cffi:defcfun ("_wrap_SGRotateTransform_getAngleRad" SGRotateTransform_getAngleRad) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_setAngleDeg" SGRotateTransform_setAngleDeg) :void
  (self :pointer)
  (angle :double))

(cffi:defcfun ("_wrap_SGRotateTransform_getAngleDeg" SGRotateTransform_getAngleDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_computeLocalToWorldMatrix" SGRotateTransform_computeLocalToWorldMatrix) :pointer
  (self :pointer)
  (matrix :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_computeWorldToLocalMatrix" SGRotateTransform_computeWorldToLocalMatrix) :pointer
  (self :pointer)
  (matrix :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_SGRotateTransform_computeBound" SGRotateTransform_computeBound) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGRotateTransform" delete_SGRotateTransform) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGScaleTransform__SWIG_0" new_SGScaleTransform) :pointer)

(cffi:defcfun ("_wrap_new_SGScaleTransform__SWIG_1" new_SGScaleTransform) :pointer
  (arg0 :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGScaleTransform__SWIG_2" new_SGScaleTransform) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_SGScaleTransform_setCenter__SWIG_0" SGScaleTransform_setCenter) :void
  (self :pointer)
  (center :pointer))

(cffi:defcfun ("_wrap_SGScaleTransform_setCenter__SWIG_1" SGScaleTransform_setCenter) :void
  (self :pointer)
  (center :pointer))

(cffi:defcfun ("_wrap_SGScaleTransform_getCenter" SGScaleTransform_getCenter) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGScaleTransform_setScaleFactor__SWIG_0" SGScaleTransform_setScaleFactor) :void
  (self :pointer)
  (scaleFactor :pointer))

(cffi:defcfun ("_wrap_SGScaleTransform_setScaleFactor__SWIG_1" SGScaleTransform_setScaleFactor) :void
  (self :pointer)
  (scaleFactor :double))

(cffi:defcfun ("_wrap_SGScaleTransform_getScaleFactor" SGScaleTransform_getScaleFactor) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGScaleTransform_computeLocalToWorldMatrix" SGScaleTransform_computeLocalToWorldMatrix) :pointer
  (self :pointer)
  (matrix :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_SGScaleTransform_computeWorldToLocalMatrix" SGScaleTransform_computeWorldToLocalMatrix) :pointer
  (self :pointer)
  (matrix :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_SGScaleTransform_computeBound" SGScaleTransform_computeBound) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGScaleTransform" delete_SGScaleTransform) :void
  (self :pointer))

(cl:defconstant _SGTEXT_HXX 1)

(cffi:defcfun ("_wrap_SGText_appendText" SGText_appendText) :pointer
  (configNode :pointer)
  (modelRoot :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_new_SGText" new_SGText) :pointer)

(cffi:defcfun ("_wrap_delete_SGText" delete_SGText) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGTranslateTransform__SWIG_0" new_SGTranslateTransform) :pointer)

(cffi:defcfun ("_wrap_new_SGTranslateTransform__SWIG_1" new_SGTranslateTransform) :pointer
  (arg0 :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGTranslateTransform__SWIG_2" new_SGTranslateTransform) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_SGTranslateTransform_setAxis" SGTranslateTransform_setAxis) :void
  (self :pointer)
  (axis :pointer))

(cffi:defcfun ("_wrap_SGTranslateTransform_getAxis" SGTranslateTransform_getAxis) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGTranslateTransform_setValue" SGTranslateTransform_setValue) :void
  (self :pointer)
  (value :double))

(cffi:defcfun ("_wrap_SGTranslateTransform_getValue" SGTranslateTransform_getValue) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGTranslateTransform_computeLocalToWorldMatrix" SGTranslateTransform_computeLocalToWorldMatrix) :pointer
  (self :pointer)
  (matrix :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_SGTranslateTransform_computeWorldToLocalMatrix" SGTranslateTransform_computeWorldToLocalMatrix) :pointer
  (self :pointer)
  (matrix :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_SGTranslateTransform_computeBound" SGTranslateTransform_computeBound) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGTranslateTransform" delete_SGTranslateTransform) :void
  (self :pointer))

(cl:defconstant _SG_ANIMATION_HXX 1)

(cffi:defcfun ("_wrap_read_value" read_value) :pointer
  (configNode :pointer)
  (modelRoot :pointer)
  (unit :string)
  (defMin :double)
  (defMax :double))

(cffi:defcfun ("_wrap_new_SGAnimation" new_SGAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_delete_SGAnimation" delete_SGAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGAnimation_animate" SGAnimation_animate) :pointer
  (node :pointer)
  (configNode :pointer)
  (modelRoot :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_new_SGGroupAnimation" new_SGGroupAnimation) :pointer
  (arg0 :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_SGGroupAnimation_createAnimationGroup" SGGroupAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGGroupAnimation" delete_SGGroupAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGTranslateAnimation" new_SGTranslateAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGTranslateAnimation_createAnimationGroup" SGTranslateAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGTranslateAnimation" delete_SGTranslateAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGRotateAnimation" new_SGRotateAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGRotateAnimation_createAnimationGroup" SGRotateAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGRotateAnimation" delete_SGRotateAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGScaleAnimation" new_SGScaleAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGScaleAnimation_createAnimationGroup" SGScaleAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGScaleAnimation" delete_SGScaleAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGDistScaleAnimation" new_SGDistScaleAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGDistScaleAnimation_createAnimationGroup" SGDistScaleAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGDistScaleAnimation" delete_SGDistScaleAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGFlashAnimation" new_SGFlashAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGFlashAnimation_createAnimationGroup" SGFlashAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGFlashAnimation" delete_SGFlashAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGBillboardAnimation" new_SGBillboardAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGBillboardAnimation_createAnimationGroup" SGBillboardAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGBillboardAnimation" delete_SGBillboardAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGRangeAnimation" new_SGRangeAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGRangeAnimation_createAnimationGroup" SGRangeAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGRangeAnimation" delete_SGRangeAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGSelectAnimation" new_SGSelectAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGSelectAnimation_createAnimationGroup" SGSelectAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGSelectAnimation" delete_SGSelectAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGAlphaTestAnimation" new_SGAlphaTestAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGAlphaTestAnimation_install" SGAlphaTestAnimation_install) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_delete_SGAlphaTestAnimation" delete_SGAlphaTestAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGBlendAnimation" new_SGBlendAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGBlendAnimation_createAnimationGroup" SGBlendAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_SGBlendAnimation_install" SGBlendAnimation_install) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_delete_SGBlendAnimation" delete_SGBlendAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGTimedAnimation" new_SGTimedAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGTimedAnimation_createAnimationGroup" SGTimedAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGTimedAnimation" delete_SGTimedAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGShadowAnimation" new_SGShadowAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGShadowAnimation_createAnimationGroup" SGShadowAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGShadowAnimation" delete_SGShadowAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGTexTransformAnimation" new_SGTexTransformAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGTexTransformAnimation_createAnimationGroup" SGTexTransformAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGTexTransformAnimation" delete_SGTexTransformAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGShaderAnimation" new_SGShaderAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_SGShaderAnimation_createAnimationGroup" SGShaderAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGShaderAnimation" delete_SGShaderAnimation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGPickAnimation" new_SGPickAnimation) :pointer
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_SGPickAnimation_createAnimationGroup" SGPickAnimation_createAnimationGroup) :pointer
  (self :pointer)
  (parent :pointer))

(cffi:defcfun ("_wrap_delete_SGPickAnimation" delete_SGPickAnimation) :void
  (self :pointer))

(cl:defconstant __MODEL_HXX 1)

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_0" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer)
  (options :pointer)
  (wrapu :pointer)
  (wrapv :pointer)
  (mipmaplevels :int))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_1" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer)
  (options :pointer)
  (wrapu :pointer)
  (wrapv :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_2" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer)
  (options :pointer)
  (wrapu :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_3" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_4" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_5" SGLoadTexture2D) :pointer
  (path :pointer)
  (options :pointer)
  (wrapu :pointer)
  (wrapv :pointer)
  (mipmaplevels :int))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_6" SGLoadTexture2D) :pointer
  (path :pointer)
  (options :pointer)
  (wrapu :pointer)
  (wrapv :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_7" SGLoadTexture2D) :pointer
  (path :pointer)
  (options :pointer)
  (wrapu :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_8" SGLoadTexture2D) :pointer
  (path :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_9" SGLoadTexture2D) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_10" SGLoadTexture2D) :pointer
  (path :pointer)
  (options :pointer)
  (wrapu :pointer)
  (wrapv :pointer)
  (mipmaplevels :int))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_11" SGLoadTexture2D) :pointer
  (path :pointer)
  (options :pointer)
  (wrapu :pointer)
  (wrapv :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_12" SGLoadTexture2D) :pointer
  (path :pointer)
  (options :pointer)
  (wrapu :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_13" SGLoadTexture2D) :pointer
  (path :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_14" SGLoadTexture2D) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_15" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer)
  (options :pointer)
  (wrapu :pointer)
  (wrapv :pointer)
  (mipmaplevels :int))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_16" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer)
  (options :pointer)
  (wrapu :pointer)
  (wrapv :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_17" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer)
  (options :pointer)
  (wrapu :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_18" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_SGLoadTexture2D__SWIG_19" SGLoadTexture2D) :pointer
  (staticTexture :pointer)
  (path :pointer))

(cffi:defcfun ("_wrap_copyModel" copyModel) :pointer
  (model :pointer))

(cffi:defcfun ("_wrap_new_TextureUpdateVisitor" new_TextureUpdateVisitor) :pointer
  (pathList :pointer))

(cffi:defcfun ("_wrap_TextureUpdateVisitor_apply__SWIG_0" TextureUpdateVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_TextureUpdateVisitor_apply__SWIG_1" TextureUpdateVisitor_apply) :void
  (self :pointer)
  (drawable :pointer))

(cffi:defcfun ("_wrap_delete_TextureUpdateVisitor" delete_TextureUpdateVisitor) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_UserDataCopyVisitor" new_UserDataCopyVisitor) :pointer)

(cffi:defcfun ("_wrap_UserDataCopyVisitor_apply" UserDataCopyVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_delete_UserDataCopyVisitor" delete_UserDataCopyVisitor) :void
  (self :pointer))

(cffi:defcfun ("_wrap_instantiateEffects__SWIG_0" instantiateEffects) :pointer
  (model :pointer)
  (effectProps :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_instantiateEffects__SWIG_1" instantiateEffects) :pointer
  (model :pointer)
  (options :pointer))

(cl:defconstant _SG_MODEL_LIB_HXX 1)

(cffi:defctype panel_func :pointer)

(cffi:defcfun ("_wrap_SGModelLib_init" SGModelLib_init) :void
  (root_dir :pointer)
  (root :pointer))

(cffi:defcfun ("_wrap_SGModelLib_setPanelFunc" SGModelLib_setPanelFunc) :void
  (pf :pointer))

(cffi:defcfun ("_wrap_SGModelLib_loadModel__SWIG_0" SGModelLib_loadModel) :pointer
  (path :pointer)
  (prop_root :pointer)
  (data :pointer)
  (load2DPanels :pointer))

(cffi:defcfun ("_wrap_SGModelLib_loadModel__SWIG_1" SGModelLib_loadModel) :pointer
  (path :pointer)
  (prop_root :pointer)
  (data :pointer))

(cffi:defcfun ("_wrap_SGModelLib_loadModel__SWIG_2" SGModelLib_loadModel) :pointer
  (path :pointer)
  (prop_root :pointer))

(cffi:defcfun ("_wrap_SGModelLib_loadModel__SWIG_3" SGModelLib_loadModel) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_SGModelLib_loadPagedModel__SWIG_0" SGModelLib_loadPagedModel) :pointer
  (path :pointer)
  (prop_root :pointer)
  (data :pointer))

(cffi:defcfun ("_wrap_SGModelLib_loadPagedModel__SWIG_1" SGModelLib_loadPagedModel) :pointer
  (path :pointer)
  (prop_root :pointer))

(cffi:defcfun ("_wrap_SGModelLib_loadPagedModel__SWIG_2" SGModelLib_loadPagedModel) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_SGModelLib_findDataFile__SWIG_0" SGModelLib_findDataFile) :pointer
  (file :pointer)
  (opts :pointer)
  (currentDir :pointer))

(cffi:defcfun ("_wrap_SGModelLib_findDataFile__SWIG_1" SGModelLib_findDataFile) :pointer
  (file :pointer)
  (opts :pointer))

(cffi:defcfun ("_wrap_SGModelLib_findDataFile__SWIG_2" SGModelLib_findDataFile) :pointer
  (file :pointer))

(cffi:defcfun ("_wrap_delete_SGModelData" delete_SGModelData) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelData_modelLoaded" SGModelData_modelLoaded) :void
  (self :pointer)
  (path :pointer)
  (prop :pointer)
  (branch :pointer))

(cl:defconstant _SG_PARTICLES_HXX 1)

(cffi:defcfun ("_wrap_new_GlobalParticleCallback" new_GlobalParticleCallback) :pointer
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_GlobalParticleCallback___funcall__" GlobalParticleCallback___funcall__) :void
  (self :pointer)
  (node :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_GlobalParticleCallback_getGravityVector" GlobalParticleCallback_getGravityVector) :pointer)

(cffi:defcfun ("_wrap_GlobalParticleCallback_getWindVector" GlobalParticleCallback_getWindVector) :pointer)

(cffi:defcfun ("_wrap_GlobalParticleCallback_setSwitch" GlobalParticleCallback_setSwitch) :void
  (n :pointer))

(cffi:defcfun ("_wrap_GlobalParticleCallback_getEnabled" GlobalParticleCallback_getEnabled) :pointer)

(cffi:defcfun ("_wrap_delete_GlobalParticleCallback" delete_GlobalParticleCallback) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_Particles" new_Particles) :pointer)

(cffi:defcfun ("_wrap_Particles_appendParticles" Particles_appendParticles) :pointer
  (configNode :pointer)
  (modelRoot :pointer)
  (options :pointer))

(cffi:defcfun ("_wrap_Particles___funcall__" Particles___funcall__) :void
  (self :pointer)
  (node :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_Particles_setupShooterSpeedData" Particles_setupShooterSpeedData) :void
  (self :pointer)
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_Particles_setupCounterData" Particles_setupCounterData) :void
  (self :pointer)
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_Particles_setupCounterCondition__SWIG_0" Particles_setupCounterCondition) :void
  (self :pointer)
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_Particles_setupCounterCondition__SWIG_1" Particles_setupCounterCondition) :void
  (self :pointer)
  (counterStaticValue :float)
  (counterStaticExtraRange :float))

(cffi:defcfun ("_wrap_Particles_setupStartSizeData" Particles_setupStartSizeData) :void
  (self :pointer)
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_Particles_setupEndSizeData" Particles_setupEndSizeData) :void
  (self :pointer)
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_Particles_setupLifeData" Particles_setupLifeData) :void
  (self :pointer)
  (configNode :pointer)
  (modelRoot :pointer))

(cffi:defcfun ("_wrap_Particles_setupStaticSizeData" Particles_setupStaticSizeData) :void
  (self :pointer)
  (startSize :float)
  (endSize :float))

(cffi:defcfun ("_wrap_Particles_setGeneralData" Particles_setGeneralData) :void
  (self :pointer)
  (shooter :pointer)
  (counter :pointer)
  (particleSys :pointer)
  (program :pointer))

(cffi:defcfun ("_wrap_Particles_setupProgramGravity" Particles_setupProgramGravity) :void
  (self :pointer)
  (useGravity :pointer))

(cffi:defcfun ("_wrap_Particles_setupProgramWind" Particles_setupProgramWind) :void
  (self :pointer)
  (useWind :pointer))

(cffi:defcfun ("_wrap_Particles_setupColorComponent" Particles_setupColorComponent) :void
  (self :pointer)
  (configNode :pointer)
  (modelRoot :pointer)
  (color :int)
  (component :int))

(cffi:defcfun ("_wrap_Particles_setupStaticColorComponent" Particles_setupStaticColorComponent) :void
  (self :pointer)
  (r1 :float)
  (g1 :float)
  (b1 :float)
  (a1 :float)
  (r2 :float)
  (g2 :float)
  (b2 :float)
  (a2 :float))

(cffi:defcfun ("_wrap_Particles_getCommonRoot" Particles_getCommonRoot) :pointer)

(cffi:defcfun ("_wrap_Particles_getCommonGeode" Particles_getCommonGeode) :pointer)

(cffi:defcfun ("_wrap_Particles_getPSU" Particles_getPSU) :pointer)

(cffi:defcfun ("_wrap_Particles_setFrozen" Particles_setFrozen) :void
  (e :pointer))

(cffi:defcfun ("_wrap_Particles_setWindVector" Particles_setWindVector) :void
  (wind :pointer))

(cffi:defcfun ("_wrap_Particles_setWindFrom" Particles_setWindFrom) :void
  (from_deg :double)
  (speed_kt :double))

(cffi:defcfun ("_wrap_Particles_getWindVector" Particles_getWindVector) :pointer)

(cffi:defcfun ("_wrap_delete_Particles" delete_Particles) :void
  (self :pointer))

(cl:defconstant _SG_PERSPARAM_HXX 1)

(cl:defconstant _SG_PLACEMENT_HXX 1)

(cffi:defcfun ("_wrap_new_SGModelPlacement" new_SGModelPlacement) :pointer)

(cffi:defcfun ("_wrap_delete_SGModelPlacement" delete_SGModelPlacement) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_init" SGModelPlacement_init) :void
  (self :pointer)
  (model :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_update" SGModelPlacement_update) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getSceneGraph" SGModelPlacement_getSceneGraph) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getVisible" SGModelPlacement_getVisible) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_setVisible" SGModelPlacement_setVisible) :void
  (self :pointer)
  (visible :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getLongitudeDeg" SGModelPlacement_getLongitudeDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getLatitudeDeg" SGModelPlacement_getLatitudeDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getElevationFt" SGModelPlacement_getElevationFt) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_setLongitudeDeg" SGModelPlacement_setLongitudeDeg) :void
  (self :pointer)
  (lon_deg :double))

(cffi:defcfun ("_wrap_SGModelPlacement_setLatitudeDeg" SGModelPlacement_setLatitudeDeg) :void
  (self :pointer)
  (lat_deg :double))

(cffi:defcfun ("_wrap_SGModelPlacement_setElevationFt" SGModelPlacement_setElevationFt) :void
  (self :pointer)
  (elev_ft :double))

(cffi:defcfun ("_wrap_SGModelPlacement_setPosition__SWIG_0" SGModelPlacement_setPosition) :void
  (self :pointer)
  (lon_deg :double)
  (lat_deg :double)
  (elev_ft :double))

(cffi:defcfun ("_wrap_SGModelPlacement_setPosition__SWIG_1" SGModelPlacement_setPosition) :void
  (self :pointer)
  (position :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getPosition" SGModelPlacement_getPosition) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getRollDeg" SGModelPlacement_getRollDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getPitchDeg" SGModelPlacement_getPitchDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_getHeadingDeg" SGModelPlacement_getHeadingDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_setRollDeg" SGModelPlacement_setRollDeg) :void
  (self :pointer)
  (roll_deg :double))

(cffi:defcfun ("_wrap_SGModelPlacement_setPitchDeg" SGModelPlacement_setPitchDeg) :void
  (self :pointer)
  (pitch_deg :double))

(cffi:defcfun ("_wrap_SGModelPlacement_setHeadingDeg" SGModelPlacement_setHeadingDeg) :void
  (self :pointer)
  (heading_deg :double))

(cffi:defcfun ("_wrap_SGModelPlacement_setOrientation__SWIG_0" SGModelPlacement_setOrientation) :void
  (self :pointer)
  (roll_deg :double)
  (pitch_deg :double)
  (heading_deg :double))

(cffi:defcfun ("_wrap_SGModelPlacement_setOrientation__SWIG_1" SGModelPlacement_setOrientation) :void
  (self :pointer)
  (orientation :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_setReferenceTime" SGModelPlacement_setReferenceTime) :void
  (self :pointer)
  (referenceTime :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_setBodyLinearVelocity" SGModelPlacement_setBodyLinearVelocity) :void
  (self :pointer)
  (velocity :pointer))

(cffi:defcfun ("_wrap_SGModelPlacement_setBodyAngularVelocity" SGModelPlacement_setBodyAngularVelocity) :void
  (self :pointer)
  (velocity :pointer))

(cffi:defcfun ("_wrap_new_SGBbCache" new_SGBbCache) :pointer)

(cffi:defcfun ("_wrap_delete_SGBbCache" delete_SGBbCache) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGBbCache_init" SGBbCache_init) :void
  (self :pointer)
  (cacheCount :int))

(cffi:defcfun ("_wrap_SGBbCache_free" SGBbCache_free) :void
  (self :pointer)
  (bbId :int)
  (cldId :int))

(cffi:defcfun ("_wrap_SGBbCache_alloc" SGBbCache_alloc) :int
  (self :pointer)
  (cldId :int))

(cffi:defcfun ("_wrap_SGBbCache_QueryTexID" SGBbCache_QueryTexID) :pointer
  (self :pointer)
  (cldId :int)
  (bbId :int))

(cffi:defcfun ("_wrap_SGBbCache_setTextureData" SGBbCache_setTextureData) :void
  (self :pointer)
  (bbId :int))

(cffi:defcfun ("_wrap_SGBbCache_beginCapture" SGBbCache_beginCapture) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGBbCache_setRadius" SGBbCache_setRadius) :void
  (self :pointer)
  (radius :float)
  (dist_center :float))

(cffi:defcfun ("_wrap_SGBbCache_endCapture" SGBbCache_endCapture) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGBbCache_queryImpostorAge" SGBbCache_queryImpostorAge) :int
  (self :pointer)
  (bbId :int))

(cffi:defcfun ("_wrap_SGBbCache_isBbValid" SGBbCache_isBbValid) :pointer
  (self :pointer)
  (cloudId :int)
  (bbId :int)
  (angleY :float)
  (angleX :float))

(cffi:defcfun ("_wrap_SGBbCache_setReference" SGBbCache_setReference) :void
  (self :pointer)
  (cloudId :int)
  (bbId :int)
  (angleY :float)
  (angleX :float))

(cffi:defcfun ("_wrap_SGBbCache_startNewFrame" SGBbCache_startNewFrame) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGBbCache_setCacheSize__SWIG_0" SGBbCache_setCacheSize) :pointer
  (self :pointer)
  (sizeKb :int))

(cffi:defcfun ("_wrap_SGBbCache_setCacheSize__SWIG_1" SGBbCache_setCacheSize) :pointer
  (self :pointer)
  (count :int)
  (textureDimension :int))

(cffi:defcfun ("_wrap_SGBbCache_isRttAvailable" SGBbCache_isRttAvailable) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBbCache_invalidateCache" SGBbCache_invalidateCache) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGBbCache_invalidate" SGBbCache_invalidate) :void
  (self :pointer)
  (cldId :int)
  (bbId :int))

(cffi:defcfun ("_wrap_SGBbCache_queryCacheSize" SGBbCache_queryCacheSize) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGBbCache_maxImpostorRegenFrame_set" SGBbCache_maxImpostorRegenFrame_set) :void
  (self :pointer)
  (maxImpostorRegenFrame :int))

(cffi:defcfun ("_wrap_SGBbCache_maxImpostorRegenFrame_get" SGBbCache_maxImpostorRegenFrame_get) :int
  (self :pointer))

(cffi:defcenum Coverage
	(:SG_CLOUD_OVERCAST #.0)
	:SG_CLOUD_BROKEN
	:SG_CLOUD_SCATTERED
	:SG_CLOUD_FEW
	:SG_CLOUD_CIRRUS
	:SG_CLOUD_CLEAR
	:SG_MAX_CLOUD_COVERAGES)

(cffi:defcvar ("SGCloudLayer_SG_CLOUD_OVERCAST_STRING" SGCloudLayer_SG_CLOUD_OVERCAST_STRING)
 :pointer)

(cffi:defcvar ("SGCloudLayer_SG_CLOUD_BROKEN_STRING" SGCloudLayer_SG_CLOUD_BROKEN_STRING)
 :pointer)

(cffi:defcvar ("SGCloudLayer_SG_CLOUD_SCATTERED_STRING" SGCloudLayer_SG_CLOUD_SCATTERED_STRING)
 :pointer)

(cffi:defcvar ("SGCloudLayer_SG_CLOUD_FEW_STRING" SGCloudLayer_SG_CLOUD_FEW_STRING)
 :pointer)

(cffi:defcvar ("SGCloudLayer_SG_CLOUD_CIRRUS_STRING" SGCloudLayer_SG_CLOUD_CIRRUS_STRING)
 :pointer)

(cffi:defcvar ("SGCloudLayer_SG_CLOUD_CLEAR_STRING" SGCloudLayer_SG_CLOUD_CLEAR_STRING)
 :pointer)

(cffi:defcfun ("_wrap_new_SGCloudLayer" new_SGCloudLayer) :pointer
  (tex_path :pointer))

(cffi:defcfun ("_wrap_delete_SGCloudLayer" delete_SGCloudLayer) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_getSpan_m" SGCloudLayer_getSpan_m) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setSpan_m" SGCloudLayer_setSpan_m) :void
  (self :pointer)
  (span_m :float))

(cffi:defcfun ("_wrap_SGCloudLayer_getElevation_m" SGCloudLayer_getElevation_m) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setElevation_m__SWIG_0" SGCloudLayer_setElevation_m) :void
  (self :pointer)
  (elevation_m :float)
  (set_span :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setElevation_m__SWIG_1" SGCloudLayer_setElevation_m) :void
  (self :pointer)
  (elevation_m :float))

(cffi:defcfun ("_wrap_SGCloudLayer_getThickness_m" SGCloudLayer_getThickness_m) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setThickness_m" SGCloudLayer_setThickness_m) :void
  (self :pointer)
  (thickness_m :float))

(cffi:defcfun ("_wrap_SGCloudLayer_getVisibility_m" SGCloudLayer_getVisibility_m) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setVisibility_m" SGCloudLayer_setVisibility_m) :void
  (self :pointer)
  (visibility_m :float))

(cffi:defcfun ("_wrap_SGCloudLayer_getTransition_m" SGCloudLayer_getTransition_m) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setTransition_m" SGCloudLayer_setTransition_m) :void
  (self :pointer)
  (transition_m :float))

(cffi:defcfun ("_wrap_SGCloudLayer_getCoverage" SGCloudLayer_getCoverage) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setCoverage" SGCloudLayer_setCoverage) :void
  (self :pointer)
  (coverage :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_getCoverageString__SWIG_0" SGCloudLayer_getCoverageString) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_getCoverageString__SWIG_1" SGCloudLayer_getCoverageString) :pointer
  (coverage :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_getCoverageType" SGCloudLayer_getCoverageType) :pointer
  (coverage :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setCoverageString" SGCloudLayer_setCoverageString) :void
  (self :pointer)
  (coverage :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setDirection" SGCloudLayer_setDirection) :void
  (self :pointer)
  (dir :float))

(cffi:defcfun ("_wrap_SGCloudLayer_getDirection" SGCloudLayer_getDirection) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setSpeed" SGCloudLayer_setSpeed) :void
  (self :pointer)
  (sp :float))

(cffi:defcfun ("_wrap_SGCloudLayer_getSpeed" SGCloudLayer_getSpeed) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_setAlpha" SGCloudLayer_setAlpha) :void
  (self :pointer)
  (alpha :float))

(cffi:defcfun ("_wrap_SGCloudLayer_setMaxAlpha" SGCloudLayer_setMaxAlpha) :void
  (self :pointer)
  (alpha :float))

(cffi:defcfun ("_wrap_SGCloudLayer_getMaxAlpha" SGCloudLayer_getMaxAlpha) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_rebuild" SGCloudLayer_rebuild) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_set_enable3dClouds" SGCloudLayer_set_enable3dClouds) :void
  (self :pointer)
  (enable :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_repaint" SGCloudLayer_repaint) :pointer
  (self :pointer)
  (fog_color :pointer))

(cffi:defcfun ("_wrap_SGCloudLayer_reposition__SWIG_0" SGCloudLayer_reposition) :pointer
  (self :pointer)
  (p :pointer)
  (up :pointer)
  (lon :double)
  (lat :double)
  (alt :double)
  (dt :double))

(cffi:defcfun ("_wrap_SGCloudLayer_reposition__SWIG_1" SGCloudLayer_reposition) :pointer
  (self :pointer)
  (p :pointer)
  (up :pointer)
  (lon :double)
  (lat :double)
  (alt :double))

(cffi:defcfun ("_wrap_SGCloudLayer_getNode" SGCloudLayer_getNode) :pointer
  (self :pointer))

(cffi:defcvar ("SGCloudLayer_enable_bump_mapping" SGCloudLayer_enable_bump_mapping)
 :pointer)

(cffi:defcfun ("_wrap_SGCloudLayer_get_layer3D" SGCloudLayer_get_layer3D) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGCloudField" new_SGCloudField) :pointer)

(cffi:defcfun ("_wrap_delete_SGCloudField" delete_SGCloudField) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudField_clear" SGCloudField_clear) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudField_addCloud" SGCloudField_addCloud) :void
  (self :pointer)
  (pos :pointer)
  (cloud :pointer))

(cffi:defcfun ("_wrap_SGCloudField_reposition" SGCloudField_reposition) :pointer
  (self :pointer)
  (p :pointer)
  (up :pointer)
  (lon :double)
  (lat :double)
  (dt :double)
  (asl :int))

(cffi:defcfun ("_wrap_SGCloudField_getNode" SGCloudField_getNode) :pointer
  (self :pointer))

(cffi:defcvar ("SGCloudField_CloudVis" SGCloudField_CloudVis)
 :float)

(cffi:defcvar ("SGCloudField_view_vec" SGCloudField_view_vec)
 :pointer)

(cffi:defcvar ("SGCloudField_view_X" SGCloudField_view_X)
 :pointer)

(cffi:defcvar ("SGCloudField_view_Y" SGCloudField_view_Y)
 :pointer)

(cffi:defcvar ("SGCloudField_view_distance" SGCloudField_view_distance)
 :float)

(cffi:defcvar ("SGCloudField_timer_dt" SGCloudField_timer_dt)
 :double)

(cffi:defcvar ("SGCloudField_fieldSize" SGCloudField_fieldSize)
 :float)

(cffi:defcfun ("_wrap_SGCloudField_defined3D_set" SGCloudField_defined3D_set) :void
  (self :pointer)
  (defined3D :pointer))

(cffi:defcfun ("_wrap_SGCloudField_defined3D_get" SGCloudField_defined3D_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudField_getCoverage" SGCloudField_getCoverage) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudField_setCoverage" SGCloudField_setCoverage) :void
  (self :pointer)
  (c :float))

(cffi:defcfun ("_wrap_SGCloudField_getVisRange" SGCloudField_getVisRange) :float)

(cffi:defcfun ("_wrap_SGCloudField_setVisRange" SGCloudField_setVisRange) :void
  (d :float))

(cffi:defcfun ("_wrap_SGCloudField_applyCoverage" SGCloudField_applyCoverage) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudField_applyVisRange" SGCloudField_applyVisRange) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCloudField_getFog" SGCloudField_getFog) :pointer)

(cffi:defcfun ("_wrap_SGCloudField_updateFog" SGCloudField_updateFog) :void
  (visibility :double)
  (color :pointer))

(cffi:defcfun ("_wrap_new_SGSkyDome" new_SGSkyDome) :pointer)

(cffi:defcfun ("_wrap_delete_SGSkyDome" delete_SGSkyDome) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSkyDome_build__SWIG_0" SGSkyDome_build) :pointer
  (self :pointer)
  (hscale :double)
  (vscale :double))

(cffi:defcfun ("_wrap_SGSkyDome_build__SWIG_1" SGSkyDome_build) :pointer
  (self :pointer)
  (hscale :double))

(cffi:defcfun ("_wrap_SGSkyDome_build__SWIG_2" SGSkyDome_build) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSkyDome_repaint" SGSkyDome_repaint) :pointer
  (self :pointer)
  (sun_color :pointer)
  (sky_color :pointer)
  (fog_color :pointer)
  (sun_angle :double)
  (vis :double))

(cffi:defcfun ("_wrap_SGSkyDome_reposition" SGSkyDome_reposition) :pointer
  (self :pointer)
  (p :pointer)
  (asl :double)
  (lon :double)
  (lat :double)
  (spin :double))

(cffi:defcfun ("_wrap_new_SGMoon" new_SGMoon) :pointer)

(cffi:defcfun ("_wrap_delete_SGMoon" delete_SGMoon) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGMoon_build" SGMoon_build) :pointer
  (self :pointer)
  (path :pointer)
  (moon_size :double))

(cffi:defcfun ("_wrap_SGMoon_repaint" SGMoon_repaint) :pointer
  (self :pointer)
  (moon_angle :double))

(cffi:defcfun ("_wrap_SGMoon_reposition" SGMoon_reposition) :pointer
  (self :pointer)
  (rightAscension :double)
  (declination :double)
  (moon_dist :double))

(cffi:defcfun ("_wrap_new_SGNewCloud" new_SGNewCloud) :pointer
  (type :pointer)
  (tex_path :pointer)
  (tex :pointer)
  (min_w :double)
  (max_w :double)
  (min_h :double)
  (max_h :double)
  (min_sprite_w :double)
  (max_sprite_w :double)
  (min_sprite_h :double)
  (max_sprite_h :double)
  (b :double)
  (n :int)
  (nt_x :int)
  (nt_y :int))

(cffi:defcfun ("_wrap_delete_SGNewCloud" delete_SGNewCloud) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGNewCloud_genCloud" SGNewCloud_genCloud) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGNewCloud_getDensity" SGNewCloud_getDensity) :double)

(cffi:defcfun ("_wrap_SGNewCloud_setDensity" SGNewCloud_setDensity) :void
  (d :double))

(cffi:defcfun ("_wrap_new_SGSun" new_SGSun) :pointer)

(cffi:defcfun ("_wrap_delete_SGSun" delete_SGSun) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSun_build" SGSun_build) :pointer
  (self :pointer)
  (path :pointer)
  (sun_size :double)
  (property_tree_Node :pointer))

(cffi:defcfun ("_wrap_SGSun_repaint" SGSun_repaint) :pointer
  (self :pointer)
  (sun_angle :double)
  (new_visibility :double))

(cffi:defcfun ("_wrap_SGSun_reposition" SGSun_reposition) :pointer
  (self :pointer)
  (rightAscension :double)
  (declination :double)
  (sun_dist :double)
  (lat :double)
  (alt_asl :double)
  (sun_angle :double))

(cffi:defcfun ("_wrap_SGSun_get_color" SGSun_get_color) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSun_get_scene_color" SGSun_get_scene_color) :pointer
  (self :pointer))

(cffi:defcstruct SGSkyState
	(pos :pointer)
	(pos_geod :pointer)
	(ori :pointer)
	(spin :double)
	(gst :double)
	(sun_dist :double)
	(moon_dist :double)
	(sun_angle :double))

(cffi:defcstruct SGSkyColor
	(sky_color :pointer)
	(adj_sky_color :pointer)
	(fog_color :pointer)
	(cloud_color :pointer)
	(sun_angle :double)
	(moon_angle :double))

(cffi:defcfun ("_wrap_new_SGSky" new_SGSky) :pointer)

(cffi:defcfun ("_wrap_delete_SGSky" delete_SGSky) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_build" SGSky_build) :void
  (self :pointer)
  (h_radius_m :double)
  (v_radius_m :double)
  (sun_size :double)
  (moon_size :double)
  (eph :pointer)
  (property_tree_node :pointer))

(cffi:defcfun ("_wrap_SGSky_repaint" SGSky_repaint) :pointer
  (self :pointer)
  (sc :pointer)
  (eph :pointer))

(cffi:defcfun ("_wrap_SGSky_reposition__SWIG_0" SGSky_reposition) :pointer
  (self :pointer)
  (st :pointer)
  (eph :pointer)
  (dt :double))

(cffi:defcfun ("_wrap_SGSky_reposition__SWIG_1" SGSky_reposition) :pointer
  (self :pointer)
  (st :pointer)
  (eph :pointer))

(cffi:defcfun ("_wrap_SGSky_modify_vis" SGSky_modify_vis) :void
  (self :pointer)
  (alt :float)
  (time_factor :float))

(cffi:defcfun ("_wrap_SGSky_getPreRoot" SGSky_getPreRoot) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_getCloudRoot" SGSky_getCloudRoot) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_texture_path" SGSky_texture_path) :void
  (self :pointer)
  (path :pointer))

(cffi:defcfun ("_wrap_SGSky_enable" SGSky_enable) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_disable" SGSky_disable) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_get_sun_color" SGSky_get_sun_color) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_get_scene_color" SGSky_get_scene_color) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_add_cloud_layer" SGSky_add_cloud_layer) :void
  (self :pointer)
  (layer :pointer))

(cffi:defcfun ("_wrap_SGSky_get_cloud_layer__SWIG_0" SGSky_get_cloud_layer) :pointer
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_SGSky_get_cloud_layer__SWIG_1" SGSky_get_cloud_layer) :pointer
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_SGSky_get_cloud_layer_count" SGSky_get_cloud_layer_count) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_get_visibility" SGSky_get_visibility) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_set_visibility" SGSky_set_visibility) :void
  (self :pointer)
  (v :float))

(cffi:defcfun ("_wrap_SGSky_get_3dCloudDensity" SGSky_get_3dCloudDensity) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_set_3dCloudDensity" SGSky_set_3dCloudDensity) :void
  (self :pointer)
  (density :double))

(cffi:defcfun ("_wrap_SGSky_get_3dCloudVisRange" SGSky_get_3dCloudVisRange) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSky_set_3dCloudVisRange" SGSky_set_3dCloudVisRange) :void
  (self :pointer)
  (vis :float))

(cffi:defcfun ("_wrap_SGMakeSphere" SGMakeSphere) :pointer
  (radius :double)
  (slices :int)
  (stacks :int))

(cffi:defcfun ("_wrap_new_SGStars" new_SGStars) :pointer)

(cffi:defcfun ("_wrap_delete_SGStars" delete_SGStars) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGStars_build" SGStars_build) :pointer
  (self :pointer)
  (num :int)
  (star_data :pointer)
  (star_dist :double))

(cffi:defcfun ("_wrap_SGStars_repaint" SGStars_repaint) :pointer
  (self :pointer)
  (sun_angle :double)
  (num :int)
  (star_data :pointer))

(cffi:defcfun ("_wrap_new_GroundLightManager" new_GroundLightManager) :pointer)

(cffi:defcfun ("_wrap_GroundLightManager_getRunwayLightStateSet" GroundLightManager_getRunwayLightStateSet) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_GroundLightManager_getTaxiLightStateSet" GroundLightManager_getTaxiLightStateSet) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_GroundLightManager_getGroundLightStateSet" GroundLightManager_getGroundLightStateSet) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_GroundLightManager_update" GroundLightManager_update) :void
  (self :pointer)
  (updateVisitor :pointer))

(cffi:defcfun ("_wrap_GroundLightManager_getLightNodeMask" GroundLightManager_getLightNodeMask) :unsigned-int
  (self :pointer)
  (updateVisitor :pointer))

(cffi:defcfun ("_wrap_delete_GroundLightManager" delete_GroundLightManager) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGOceanTile" SGOceanTile) :pointer
  (b :pointer)
  (matlib :pointer))

(cffi:defcfun ("_wrap_new_SGReaderWriterBTGOptions__SWIG_0" new_SGReaderWriterBTGOptions) :pointer
  (str :pointer))

(cffi:defcfun ("_wrap_new_SGReaderWriterBTGOptions__SWIG_1" new_SGReaderWriterBTGOptions) :pointer)

(cffi:defcfun ("_wrap_new_SGReaderWriterBTGOptions__SWIG_2" new_SGReaderWriterBTGOptions) :pointer
  (options :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_SGReaderWriterBTGOptions__SWIG_3" new_SGReaderWriterBTGOptions) :pointer
  (options :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterBTGOptions_getMatlib" SGReaderWriterBTGOptions_getMatlib) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterBTGOptions_setMatlib" SGReaderWriterBTGOptions_setMatlib) :void
  (self :pointer)
  (matlib :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterBTGOptions_getCalcLights" SGReaderWriterBTGOptions_getCalcLights) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterBTGOptions_setCalcLights" SGReaderWriterBTGOptions_setCalcLights) :void
  (self :pointer)
  (calcLights :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterBTGOptions_getUseRandomObjects" SGReaderWriterBTGOptions_getUseRandomObjects) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterBTGOptions_getUseRandomVegetation" SGReaderWriterBTGOptions_getUseRandomVegetation) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterBTGOptions_setUseRandomObjects" SGReaderWriterBTGOptions_setUseRandomObjects) :void
  (self :pointer)
  (useRandomObjects :pointer))

(cffi:defcfun ("_wrap_SGReaderWriterBTGOptions_setUseRandomVegetation" SGReaderWriterBTGOptions_setUseRandomVegetation) :void
  (self :pointer)
  (useRandomVegetation :pointer))

(cl:defconstant SHADER_GEOMETRY_HXX 1)

(cffi:defcfun ("_wrap_new_ShaderGeometry__SWIG_0" new_ShaderGeometry) :pointer)

(cffi:defcfun ("_wrap_new_ShaderGeometry__SWIG_1" new_ShaderGeometry) :pointer
  (v :int))

(cffi:defcfun ("_wrap_new_ShaderGeometry__SWIG_2" new_ShaderGeometry) :pointer
  (ShaderGeometry :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_new_ShaderGeometry__SWIG_3" new_ShaderGeometry) :pointer
  (ShaderGeometry :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry_drawImplementation" ShaderGeometry_drawImplementation) :void
  (self :pointer)
  (renderInfo :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry_computeBound" ShaderGeometry_computeBound) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry_setGeometry" ShaderGeometry_setGeometry) :void
  (self :pointer)
  (geometry :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry_addObject" ShaderGeometry_addObject) :void
  (self :pointer)
  (position :pointer)
  (scale :float)
  (texture_index :int))

(cffi:defcfun ("_wrap_ShaderGeometry__geometry_set" ShaderGeometry__geometry_set) :void
  (self :pointer)
  (_geometry :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry__geometry_get" ShaderGeometry__geometry_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry_varieties_set" ShaderGeometry_varieties_set) :void
  (self :pointer)
  (varieties :int))

(cffi:defcfun ("_wrap_ShaderGeometry_varieties_get" ShaderGeometry_varieties_get) :int
  (self :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry__posScaleArray_set" ShaderGeometry__posScaleArray_set) :void
  (self :pointer)
  (_posScaleArray :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry__posScaleArray_get" ShaderGeometry__posScaleArray_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry__vertexAttribArray_set" ShaderGeometry__vertexAttribArray_set) :void
  (self :pointer)
  (_vertexAttribArray :pointer))

(cffi:defcfun ("_wrap_ShaderGeometry__vertexAttribArray_get" ShaderGeometry__vertexAttribArray_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_tile_bucket_set" TileEntry_tile_bucket_set) :void
  (self :pointer)
  (tile_bucket :pointer))

(cffi:defcfun ("_wrap_TileEntry_tile_bucket_get" TileEntry_tile_bucket_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_tileFileName_set" TileEntry_tileFileName_set) :void
  (self :pointer)
  (tileFileName :pointer))

(cffi:defcfun ("_wrap_TileEntry_tileFileName_get" TileEntry_tileFileName_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_TileEntry" new_TileEntry) :pointer
  (b :pointer))

(cffi:defcfun ("_wrap_delete_TileEntry" delete_TileEntry) :void
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_setModelLoadHelper" TileEntry_setModelLoadHelper) :void
  (m :pointer))

(cffi:defcfun ("_wrap_TileEntry_prep_ssg_node" TileEntry_prep_ssg_node) :void
  (self :pointer)
  (vis :float))

(cffi:defcfun ("_wrap_TileEntry_loadTileByFileName" TileEntry_loadTileByFileName) :pointer
  (index_str :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_TileEntry_is_loaded" TileEntry_is_loaded) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_get_tile_bucket" TileEntry_get_tile_bucket) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_addToSceneGraph" TileEntry_addToSceneGraph) :void
  (self :pointer)
  (terrain_branch :pointer))

(cffi:defcfun ("_wrap_TileEntry_removeFromSceneGraph" TileEntry_removeFromSceneGraph) :void
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_getNode" TileEntry_getNode) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_get_time_expired" TileEntry_get_time_expired) :double
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_update_time_expired" TileEntry_update_time_expired) :void
  (self :pointer)
  (time_expired :double))

(cffi:defcfun ("_wrap_TileEntry_set_priority" TileEntry_set_priority) :void
  (self :pointer)
  (priority :float))

(cffi:defcfun ("_wrap_TileEntry_get_priority" TileEntry_get_priority) :float
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_set_current_view" TileEntry_set_current_view) :void
  (self :pointer)
  (current_view :pointer))

(cffi:defcfun ("_wrap_TileEntry_is_current_view" TileEntry_is_current_view) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_TileEntry_is_expired" TileEntry_is_expired) :pointer
  (self :pointer)
  (current_time :double))

(cffi:defcfun ("_wrap_TileEntry_getDatabaseRequest" TileEntry_getDatabaseRequest) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_ModelLoadHelper_loadTileModel" ModelLoadHelper_loadTileModel) :pointer
  (self :pointer)
  (modelPath :pointer)
  (cacheModel :pointer))

(cffi:defcfun ("_wrap_delete_ModelLoadHelper" delete_ModelLoadHelper) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGMakeSign" SGMakeSign) :pointer
  (matlib :pointer)
  (path :pointer)
  (content :pointer))

(cffi:defcfun ("_wrap_SGMakeRunwaySign" SGMakeRunwaySign) :pointer
  (matlib :pointer)
  (path :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGGenTile" SGGenTile) :pointer
  (arg0 :pointer)
  (b :pointer)
  (matlib :pointer)
  (group :pointer))

(cffi:defcfun ("_wrap_SGLoadBTG" SGLoadBTG) :pointer
  (path :pointer)
  (matlib :pointer)
  (calc_lights :pointer)
  (use_random_objects :pointer)
  (use_random_vegetation :pointer))

(cffi:defcfun ("_wrap_SGConfigureDirectionalLights" SGConfigureDirectionalLights) :void
  (use_point_sprites :pointer)
  (enhanced_lighting :pointer)
  (distance_attenuation :pointer))

(cffi:defcfun ("_wrap_SGLightFactory_getLightDrawable__SWIG_0" SGLightFactory_getLightDrawable) :pointer
  (light :pointer))

(cffi:defcfun ("_wrap_SGLightFactory_getLightDrawable__SWIG_1" SGLightFactory_getLightDrawable) :pointer
  (light :pointer))

(cffi:defcfun ("_wrap_SGLightFactory_getLights__SWIG_0" SGLightFactory_getLights) :pointer
  (lights :pointer)
  (inc :unsigned-int)
  (alphaOff :float))

(cffi:defcfun ("_wrap_SGLightFactory_getLights__SWIG_1" SGLightFactory_getLights) :pointer
  (lights :pointer)
  (inc :unsigned-int))

(cffi:defcfun ("_wrap_SGLightFactory_getLights__SWIG_2" SGLightFactory_getLights) :pointer
  (lights :pointer))

(cffi:defcfun ("_wrap_SGLightFactory_getLights__SWIG_3" SGLightFactory_getLights) :pointer
  (lights :pointer))

(cffi:defcfun ("_wrap_SGLightFactory_getVasi" SGLightFactory_getVasi) :pointer
  (up :pointer)
  (lights :pointer)
  (red :pointer)
  (white :pointer))

(cffi:defcfun ("_wrap_SGLightFactory_getSequenced" SGLightFactory_getSequenced) :pointer
  (lights :pointer))

(cffi:defcfun ("_wrap_SGLightFactory_getOdal" SGLightFactory_getOdal) :pointer
  (lights :pointer))

(cffi:defcfun ("_wrap_new_SGLightFactory" new_SGLightFactory) :pointer)

(cffi:defcfun ("_wrap_delete_SGLightFactory" delete_SGLightFactory) :void
  (self :pointer))

(cffi:defcfun ("_wrap_getLightEffect" getLightEffect) :pointer
  (size :float)
  (attenuation :pointer)
  (minSize :float)
  (maxSize :float)
  (directional :pointer))

(cffi:defcfun ("_wrap_sgUserDataInit" sgUserDataInit) :void
  (p :pointer))

(cffi:defcfun ("_wrap_sgGetRandomModel" sgGetRandomModel) :pointer
  (obj :pointer)
  (seed :pointer))

(cffi:defcfun ("_wrap_getPropertyRoot" getPropertyRoot) :pointer)

(cl:defconstant SIMGEAR_COPYOP_HXX 1)

(cffi:defcfun ("_wrap_new_CopyOp__SWIG_0" new_CopyOp) :pointer
  (flags :pointer))

(cffi:defcfun ("_wrap_new_CopyOp__SWIG_1" new_CopyOp) :pointer)

(cffi:defcfun ("_wrap_CopyOp___funcall____SWIG_1" CopyOp___funcall__) :pointer
  (self :pointer)
  (obj :pointer))

(cffi:defcfun ("_wrap_delete_CopyOp" delete_CopyOp) :void
  (self :pointer))

(cl:defconstant SIMGEAR_NODEANDDRAWABLEVISITOR_HXX 1)

(cffi:defcfun ("_wrap_new_NodeAndDrawableVisitor__SWIG_0" new_NodeAndDrawableVisitor) :pointer
  (tm :pointer))

(cffi:defcfun ("_wrap_new_NodeAndDrawableVisitor__SWIG_1" new_NodeAndDrawableVisitor) :pointer
  (type :pointer)
  (tm :pointer))

(cffi:defcfun ("_wrap_delete_NodeAndDrawableVisitor" delete_NodeAndDrawableVisitor) :void
  (self :pointer))

(cffi:defcfun ("_wrap_NodeAndDrawableVisitor_apply__SWIG_1" NodeAndDrawableVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_NodeAndDrawableVisitor_apply__SWIG_2" NodeAndDrawableVisitor_apply) :void
  (self :pointer)
  (drawable :pointer))

(cffi:defcfun ("_wrap_NodeAndDrawableVisitor_traverse" NodeAndDrawableVisitor_traverse) :void
  (self :pointer)
  (node :pointer))

(cl:defconstant SIMGEAR_PRIMITIVEUTILS_HXX 1)

(cffi:defcstruct Primitive
	(numVerts :int)
	(vertices :pointer))

(cffi:defcfun ("_wrap_getPrimitive" getPrimitive) :pointer
  (drawable :pointer)
  (primitiveIndex :unsigned-int))

(cl:defconstant SIMGEAR_QUADTREEBUILDER_HXX 1)

(cffi:defctype simgear::LodMap :pointer)

(cffi:defcenum NodeMask
	(:TERRAIN_BIT #.(cl:ash 1 0))
	(:MAINMODEL_BIT #.(cl:ash 1 1))
	(:CASTSHADOW_BIT #.(cl:ash 1 2))
	(:RECEIVESHADOW_BIT #.(cl:ash 1 3))
	(:GUI_BIT #.(cl:ash 1 4))
	(:PANEL2D_BIT #.(cl:ash 1 5))
	(:PICK_BIT #.(cl:ash 1 6))
	(:GROUNDLIGHTS0_BIT #.(cl:ash 1 7))
	(:GROUNDLIGHTS1_BIT #.(cl:ash 1 8))
	(:GROUNDLIGHTS2_BIT #.(cl:ash 1 9))
	(:RUNWAYLIGHTS_BIT #.(cl:ash 1 10))
	(:LIGHTS_BITS #.(cl:logior GRONDIGHTS0_BIT GRONDIGHTS1_BIT GRONDIGHTS2_BIT RNWAYIGHTS_BIT))
	(:BACKGROUND_BIT #.(cl:ash 1 11))
	(:MODEL_BIT #.(cl:ash 1 12)))

(cffi:defcenum RenderBin
	(:RANDOM_OBJECTS_BIN #.2)
	(:POINT_LIGHTS_BIN #.8)
	(:CLOUDS_BIN #.9)
	(:TRANSPARENT_BIN #.10))

(cffi:defcfun ("_wrap_new_SGEnlargeBoundingBox__SWIG_0" new_SGEnlargeBoundingBox) :pointer
  (offset :float))

(cffi:defcfun ("_wrap_new_SGEnlargeBoundingBox__SWIG_1" new_SGEnlargeBoundingBox) :pointer)

(cffi:defcfun ("_wrap_new_SGEnlargeBoundingBox__SWIG_2" new_SGEnlargeBoundingBox) :pointer
  (cb :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_SGEnlargeBoundingBox_computeBound" SGEnlargeBoundingBox_computeBound) :pointer
  (self :pointer)
  (drawable :pointer))

(cffi:defcfun ("_wrap_delete_SGEnlargeBoundingBox" delete_SGEnlargeBoundingBox) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSceneFeatures_instance" SGSceneFeatures_instance) :pointer)

(cffi:defcenum TextureCompression
	:DoNotUseCompression
	:UseARBCompression
	:UseDXT1Compression
	:UseDXT3Compression
	:UseDXT5Compression)

(cffi:defcfun ("_wrap_SGSceneFeatures_setTextureCompression__SWIG_0" SGSceneFeatures_setTextureCompression) :void
  (self :pointer)
  (textureCompression :pointer))

(cffi:defcfun ("_wrap_SGSceneFeatures_getTextureCompression" SGSceneFeatures_getTextureCompression) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSceneFeatures_setTextureCompression__SWIG_1" SGSceneFeatures_setTextureCompression) :void
  (self :pointer)
  (texture :pointer))

(cffi:defcfun ("_wrap_SGSceneFeatures_setEnablePointSpriteLights" SGSceneFeatures_setEnablePointSpriteLights) :void
  (self :pointer)
  (enable :pointer))

(cffi:defcfun ("_wrap_SGSceneFeatures_getEnablePointSpriteLights" SGSceneFeatures_getEnablePointSpriteLights) :pointer
  (self :pointer)
  (contextId :unsigned-int))

(cffi:defcfun ("_wrap_SGSceneFeatures_setEnableDistanceAttenuationLights" SGSceneFeatures_setEnableDistanceAttenuationLights) :void
  (self :pointer)
  (enable :pointer))

(cffi:defcfun ("_wrap_SGSceneFeatures_getEnableDistanceAttenuationLights" SGSceneFeatures_getEnableDistanceAttenuationLights) :pointer
  (self :pointer)
  (contextId :unsigned-int))

(cffi:defcfun ("_wrap_SGSceneFeatures_setEnableShaderLights" SGSceneFeatures_setEnableShaderLights) :void
  (self :pointer)
  (enable :pointer))

(cffi:defcfun ("_wrap_SGSceneFeatures_getEnableShaderLights" SGSceneFeatures_getEnableShaderLights) :pointer
  (self :pointer)
  (contextId :unsigned-int))

(cffi:defcfun ("_wrap_SGSceneFeatures_setTextureFilter" SGSceneFeatures_setTextureFilter) :void
  (self :pointer)
  (max :int))

(cffi:defcfun ("_wrap_SGSceneFeatures_getTextureFilter" SGSceneFeatures_getTextureFilter) :int
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGSceneFeatures" delete_SGSceneFeatures) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGStateAttributeVisitor" new_SGStateAttributeVisitor) :pointer)

(cffi:defcfun ("_wrap_SGStateAttributeVisitor_apply__SWIG_0" SGStateAttributeVisitor_apply) :void
  (self :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_SGStateAttributeVisitor_apply__SWIG_1" SGStateAttributeVisitor_apply) :void
  (self :pointer)
  (attrList :pointer))

(cffi:defcfun ("_wrap_SGStateAttributeVisitor_apply__SWIG_2" SGStateAttributeVisitor_apply) :void
  (self :pointer)
  (stateSet :pointer))

(cffi:defcfun ("_wrap_SGStateAttributeVisitor_apply__SWIG_3" SGStateAttributeVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SGStateAttributeVisitor_apply__SWIG_4" SGStateAttributeVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_delete_SGStateAttributeVisitor" delete_SGStateAttributeVisitor) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGTextureStateAttributeVisitor" new_SGTextureStateAttributeVisitor) :pointer)

(cffi:defcfun ("_wrap_SGTextureStateAttributeVisitor_apply__SWIG_0" SGTextureStateAttributeVisitor_apply) :void
  (self :pointer)
  (textureUnit :int)
  (refAttr :pointer))

(cffi:defcfun ("_wrap_SGTextureStateAttributeVisitor_apply__SWIG_1" SGTextureStateAttributeVisitor_apply) :void
  (self :pointer)
  (textureUnit :int)
  (attrList :pointer))

(cffi:defcfun ("_wrap_SGTextureStateAttributeVisitor_apply__SWIG_2" SGTextureStateAttributeVisitor_apply) :void
  (self :pointer)
  (attrList :pointer))

(cffi:defcfun ("_wrap_SGTextureStateAttributeVisitor_apply__SWIG_3" SGTextureStateAttributeVisitor_apply) :void
  (self :pointer)
  (stateSet :pointer))

(cffi:defcfun ("_wrap_SGTextureStateAttributeVisitor_apply__SWIG_4" SGTextureStateAttributeVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SGTextureStateAttributeVisitor_apply__SWIG_5" SGTextureStateAttributeVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_delete_SGTextureStateAttributeVisitor" delete_SGTextureStateAttributeVisitor) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGUpdateVisitor" new_SGUpdateVisitor) :pointer)

(cffi:defcfun ("_wrap_SGUpdateVisitor_setViewData" SGUpdateVisitor_setViewData) :void
  (self :pointer)
  (globalEyePos :pointer)
  (globalViewOrientation :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_setVisibility" SGUpdateVisitor_setVisibility) :void
  (self :pointer)
  (visibility :double))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getVisibility" SGUpdateVisitor_getVisibility) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getSqrVisibility" SGUpdateVisitor_getSqrVisibility) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getFogExpDensity" SGUpdateVisitor_getFogExpDensity) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getFogExp2Density" SGUpdateVisitor_getFogExp2Density) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getRunwayFogExp2Density" SGUpdateVisitor_getRunwayFogExp2Density) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getTaxiFogExp2Density" SGUpdateVisitor_getTaxiFogExp2Density) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getGroundLightsFogExp2Density" SGUpdateVisitor_getGroundLightsFogExp2Density) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getGlobalEyePos" SGUpdateVisitor_getGlobalEyePos) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getGeodEyePos" SGUpdateVisitor_getGeodEyePos) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getGlobalViewOr" SGUpdateVisitor_getGlobalViewOr) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getGlobalHorizLocalOr" SGUpdateVisitor_getGlobalHorizLocalOr) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getHorizLocalNorth" SGUpdateVisitor_getHorizLocalNorth) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getHorizLocalEast" SGUpdateVisitor_getHorizLocalEast) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getHorizLocalDown" SGUpdateVisitor_getHorizLocalDown) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_setLight" SGUpdateVisitor_setLight) :void
  (self :pointer)
  (direction :pointer)
  (ambient :pointer)
  (diffuse :pointer)
  (specular :pointer)
  (fogColor :pointer)
  (sunAngleDeg :double))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getLightDirection" SGUpdateVisitor_getLightDirection) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getAmbientLight" SGUpdateVisitor_getAmbientLight) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getDiffuseLight" SGUpdateVisitor_getDiffuseLight) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getSpecularLight" SGUpdateVisitor_getSpecularLight) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getFogColor" SGUpdateVisitor_getFogColor) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getSunAngleDeg" SGUpdateVisitor_getSunAngleDeg) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_apply__SWIG_0" SGUpdateVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_apply__SWIG_1" SGUpdateVisitor_apply) :void
  (self :pointer)
  (pagedLOD :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_apply__SWIG_2" SGUpdateVisitor_apply) :void
  (self :pointer)
  (transform :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_apply__SWIG_3" SGUpdateVisitor_apply) :void
  (self :pointer)
  (camera :pointer))

(cffi:defcfun ("_wrap_SGUpdateVisitor_getDistanceToViewPoint" SGUpdateVisitor_getDistanceToViewPoint) :float
  (self :pointer)
  (pos :pointer)
  (arg2 :pointer))

(cffi:defcfun ("_wrap_delete_SGUpdateVisitor" delete_SGUpdateVisitor) :void
  (self :pointer))

(cl:defconstant SIMGEAR_SPLICINGVISITOR_HXX 1)

(cffi:defcfun ("_wrap_new_SplicingVisitor" new_SplicingVisitor) :pointer)

(cffi:defcfun ("_wrap_delete_SplicingVisitor" delete_SplicingVisitor) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_reset" SplicingVisitor_reset) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_traverse" SplicingVisitor_traverse) :pointer
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_apply__SWIG_1" SplicingVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_apply__SWIG_2" SplicingVisitor_apply) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_pushResultNode__SWIG_0" SplicingVisitor_pushResultNode) :pointer
  (self :pointer)
  (node :pointer)
  (newNode :pointer)
  (children :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_pushResultNode__SWIG_1" SplicingVisitor_pushResultNode) :pointer
  (self :pointer)
  (node :pointer)
  (newNode :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_pushNode" SplicingVisitor_pushNode) :pointer
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_getResult" SplicingVisitor_getResult) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_getNewNode__SWIG_0" SplicingVisitor_getNewNode) :pointer
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_getNewNode__SWIG_1" SplicingVisitor_getNewNode) :pointer
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_recordNewNode" SplicingVisitor_recordNewNode) :pointer
  (self :pointer)
  (oldNode :pointer)
  (newNode :pointer))

(cffi:defcfun ("_wrap_SplicingVisitor_getResults" SplicingVisitor_getResults) :pointer
  (self :pointer))

(cl:defconstant SIMGEAR_UPDATEONCECALLBACK_HXX 1)

(cffi:defcfun ("_wrap_new_UpdateOnceCallback__SWIG_0" new_UpdateOnceCallback) :pointer)

(cffi:defcfun ("_wrap_new_UpdateOnceCallback__SWIG_1" new_UpdateOnceCallback) :pointer
  (nc :pointer)
  (copyop :pointer))

(cffi:defcfun ("_wrap_UpdateOnceCallback_doUpdate" UpdateOnceCallback_doUpdate) :void
  (self :pointer)
  (node :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_UpdateOnceCallback___funcall__" UpdateOnceCallback___funcall__) :void
  (self :pointer)
  (node :pointer)
  (nv :pointer))

(cffi:defcfun ("_wrap_delete_UpdateOnceCallback" delete_UpdateOnceCallback) :void
  (self :pointer))

(cl:defconstant VECTORARRAYADAPTERHXX 1)

(cl:defconstant _SG_COLORS_HXX 1)

(cffi:defcvar ("system_gamma" system_gamma)
 :float)

(cffi:defcfun ("_wrap_gamma_correct_rgb__SWIG_0" gamma_correct_rgb) :void
  (color :pointer)
  (reff :float)
  (system :float))

(cffi:defcfun ("_wrap_gamma_correct_rgb__SWIG_1" gamma_correct_rgb) :void
  (color :pointer)
  (reff :float))

(cffi:defcfun ("_wrap_gamma_correct_rgb__SWIG_2" gamma_correct_rgb) :void
  (color :pointer))

(cffi:defcfun ("_wrap_gamma_correct_c__SWIG_0" gamma_correct_c) :void
  (color :pointer)
  (reff :float)
  (system :float))

(cffi:defcfun ("_wrap_gamma_correct_c__SWIG_1" gamma_correct_c) :void
  (color :pointer)
  (reff :float))

(cffi:defcfun ("_wrap_gamma_correct_c__SWIG_2" gamma_correct_c) :void
  (color :pointer))

(cffi:defcfun ("_wrap_gamma_restore_rgb__SWIG_0" gamma_restore_rgb) :void
  (color :pointer)
  (reff :float)
  (system :float))

(cffi:defcfun ("_wrap_gamma_restore_rgb__SWIG_1" gamma_restore_rgb) :void
  (color :pointer)
  (reff :float))

(cffi:defcfun ("_wrap_gamma_restore_rgb__SWIG_2" gamma_restore_rgb) :void
  (color :pointer))

(cffi:defcfun ("_wrap_gamma_restore_c__SWIG_0" gamma_restore_c) :void
  (color :pointer)
  (reff :float)
  (system :float))

(cffi:defcfun ("_wrap_gamma_restore_c__SWIG_1" gamma_restore_c) :void
  (color :pointer)
  (reff :float))

(cffi:defcfun ("_wrap_gamma_restore_c__SWIG_2" gamma_restore_c) :void
  (color :pointer))

(cl:defconstant __SG_EXTENSIONS_HXX 1)

(cffi:defcfun ("_wrap_SGSearchExtensionsString" SGSearchExtensionsString) :pointer
  (extString :string)
  (extName :string))

(cffi:defcfun ("_wrap_SGIsOpenGLExtensionSupported" SGIsOpenGLExtensionSupported) :pointer
  (extName :string))

(cffi:defcfun ("_wrap_sg_glDumpWindow" sg_glDumpWindow) :pointer
  (filename :string)
  (win_width :int)
  (win_height :int))

(cffi:defcfun ("_wrap_sg_glWritePPMFile" sg_glWritePPMFile) :pointer
  (filename :string)
  (buffer :pointer)
  (win_width :int)
  (win_height :int)
  (mode :int))

(cffi:defcfun ("_wrap_new_SGSerialPort__SWIG_0" new_SGSerialPort) :pointer)

(cffi:defcfun ("_wrap_new_SGSerialPort__SWIG_1" new_SGSerialPort) :pointer
  (device :pointer)
  (baud :int))

(cffi:defcfun ("_wrap_delete_SGSerialPort" delete_SGSerialPort) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSerialPort_open_port" SGSerialPort_open_port) :pointer
  (self :pointer)
  (device :pointer))

(cffi:defcfun ("_wrap_SGSerialPort_close_port" SGSerialPort_close_port) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSerialPort_set_baud" SGSerialPort_set_baud) :pointer
  (self :pointer)
  (baud :int))

(cffi:defcfun ("_wrap_SGSerialPort_read_port__SWIG_0" SGSerialPort_read_port) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSerialPort_read_port__SWIG_1" SGSerialPort_read_port) :int
  (self :pointer)
  (buf :string)
  (len :int))

(cffi:defcfun ("_wrap_SGSerialPort_write_port__SWIG_0" SGSerialPort_write_port) :int
  (self :pointer)
  (value :pointer))

(cffi:defcfun ("_wrap_SGSerialPort_write_port__SWIG_1" SGSerialPort_write_port) :int
  (self :pointer)
  (buf :string)
  (len :int))

(cffi:defcfun ("_wrap_SGSerialPort_is_enabled" SGSerialPort_is_enabled) :pointer
  (self :pointer))

(cl:defconstant _SG_SAMPLE_GROUP_OPENAL_HXX 1)

(cffi:defctype sample_map :pointer)

(cffi:defctype sample_map_iterator :pointer)

(cffi:defctype const_sample_map_iterator :pointer)

(cffi:defcfun ("_wrap_new_SGSampleGroup__SWIG_0" new_SGSampleGroup) :pointer)

(cffi:defcfun ("_wrap_new_SGSampleGroup__SWIG_1" new_SGSampleGroup) :pointer
  (smgr :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_delete_SGSampleGroup" delete_SGSampleGroup) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_activate" SGSampleGroup_activate) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_update" SGSampleGroup_update) :void
  (self :pointer)
  (dt :double))

(cffi:defcfun ("_wrap_SGSampleGroup_add" SGSampleGroup_add) :pointer
  (self :pointer)
  (sound :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_remove" SGSampleGroup_remove) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_exists" SGSampleGroup_exists) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_find" SGSampleGroup_find) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_stop__SWIG_0" SGSampleGroup_stop) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_suspend" SGSampleGroup_suspend) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_resume" SGSampleGroup_resume) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_play" SGSampleGroup_play) :pointer
  (self :pointer)
  (refname :pointer)
  (looping :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_play_looped" SGSampleGroup_play_looped) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_play_once" SGSampleGroup_play_once) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_is_playing" SGSampleGroup_is_playing) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_stop__SWIG_1" SGSampleGroup_stop) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_set_volume" SGSampleGroup_set_volume) :void
  (self :pointer)
  (vol :float))

(cffi:defcfun ("_wrap_SGSampleGroup_set_velocity" SGSampleGroup_set_velocity) :void
  (self :pointer)
  (vel :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_set_position_geod" SGSampleGroup_set_position_geod) :void
  (self :pointer)
  (pos :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_set_orientation" SGSampleGroup_set_orientation) :void
  (self :pointer)
  (ori :pointer))

(cffi:defcfun ("_wrap_SGSampleGroup_tie_to_listener" SGSampleGroup_tie_to_listener) :void
  (self :pointer))

(cl:defconstant _SG_SAMPLE_HXX 1)

(cffi:defcfun ("_wrap_new_SGSoundSample__SWIG_0" new_SGSoundSample) :pointer)

(cffi:defcfun ("_wrap_new_SGSoundSample__SWIG_1" new_SGSoundSample) :pointer
  (file :string)
  (currentDir :pointer))

(cffi:defcfun ("_wrap_new_SGSoundSample__SWIG_2" new_SGSoundSample) :pointer
  (data :pointer)
  (len :int)
  (freq :int)
  (format :int))

(cffi:defcfun ("_wrap_new_SGSoundSample__SWIG_3" new_SGSoundSample) :pointer
  (data :pointer)
  (len :int)
  (freq :int))

(cffi:defcfun ("_wrap_new_SGSoundSample__SWIG_4" new_SGSoundSample) :pointer
  (data :pointer)
  (len :int)
  (freq :int)
  (format :int))

(cffi:defcfun ("_wrap_new_SGSoundSample__SWIG_5" new_SGSoundSample) :pointer
  (data :pointer)
  (len :int)
  (freq :int))

(cffi:defcfun ("_wrap_delete_SGSoundSample" delete_SGSoundSample) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_is_file" SGSoundSample_is_file) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_file_path" SGSoundSample_file_path) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_has_changed" SGSoundSample_has_changed) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_has_static_data_changed" SGSoundSample_has_static_data_changed) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_play__SWIG_0" SGSoundSample_play) :void
  (self :pointer)
  (loop :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_play__SWIG_1" SGSoundSample_play) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_is_looping" SGSoundSample_is_looping) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_stop" SGSoundSample_stop) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_play_once" SGSoundSample_play_once) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_play_looped" SGSoundSample_play_looped) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_is_playing" SGSoundSample_is_playing) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_data__SWIG_0" SGSoundSample_set_data) :void
  (self :pointer)
  (data :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_data__SWIG_1" SGSoundSample_set_data) :void
  (self :pointer)
  (data :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_get_data" SGSoundSample_get_data) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_free_data" SGSoundSample_free_data) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_source" SGSoundSample_set_source) :void
  (self :pointer)
  (sid :unsigned-int))

(cffi:defcfun ("_wrap_SGSoundSample_get_source" SGSoundSample_get_source) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_is_valid_source" SGSoundSample_is_valid_source) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_no_valid_source" SGSoundSample_no_valid_source) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_buffer" SGSoundSample_set_buffer) :void
  (self :pointer)
  (bid :unsigned-int))

(cffi:defcfun ("_wrap_SGSoundSample_get_buffer" SGSoundSample_get_buffer) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_is_valid_buffer" SGSoundSample_is_valid_buffer) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_no_valid_buffer" SGSoundSample_no_valid_buffer) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_pitch" SGSoundSample_set_pitch) :void
  (self :pointer)
  (p :float))

(cffi:defcfun ("_wrap_SGSoundSample_get_pitch" SGSoundSample_get_pitch) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_master_volume" SGSoundSample_set_master_volume) :void
  (self :pointer)
  (v :float))

(cffi:defcfun ("_wrap_SGSoundSample_set_volume" SGSoundSample_set_volume) :void
  (self :pointer)
  (v :float))

(cffi:defcfun ("_wrap_SGSoundSample_get_volume" SGSoundSample_get_volume) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_format" SGSoundSample_set_format) :void
  (self :pointer)
  (format :int))

(cffi:defcfun ("_wrap_SGSoundSample_get_format" SGSoundSample_get_format) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_frequency" SGSoundSample_set_frequency) :void
  (self :pointer)
  (freq :int))

(cffi:defcfun ("_wrap_SGSoundSample_get_frequency" SGSoundSample_get_frequency) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_size" SGSoundSample_set_size) :void
  (self :pointer)
  (size :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_get_size" SGSoundSample_get_size) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_relative_position" SGSoundSample_set_relative_position) :void
  (self :pointer)
  (pos :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_position" SGSoundSample_set_position) :void
  (self :pointer)
  (pos :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_get_position" SGSoundSample_get_position) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_orientation" SGSoundSample_set_orientation) :void
  (self :pointer)
  (ori :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_rotation" SGSoundSample_set_rotation) :void
  (self :pointer)
  (ec2body :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_direction" SGSoundSample_set_direction) :void
  (self :pointer)
  (dir :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_audio_cone" SGSoundSample_set_audio_cone) :void
  (self :pointer)
  (inner :float)
  (outer :float)
  (gain :float))

(cffi:defcfun ("_wrap_SGSoundSample_get_orientation" SGSoundSample_get_orientation) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_get_innerangle" SGSoundSample_get_innerangle) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_get_outerangle" SGSoundSample_get_outerangle) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_get_outergain" SGSoundSample_get_outergain) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_velocity" SGSoundSample_set_velocity) :void
  (self :pointer)
  (vel :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_get_velocity" SGSoundSample_get_velocity) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_reference_dist" SGSoundSample_set_reference_dist) :void
  (self :pointer)
  (dist :float))

(cffi:defcfun ("_wrap_SGSoundSample_get_reference_dist" SGSoundSample_get_reference_dist) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_set_max_dist" SGSoundSample_set_max_dist) :void
  (self :pointer)
  (dist :float))

(cffi:defcfun ("_wrap_SGSoundSample_get_max_dist" SGSoundSample_get_max_dist) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_get_sample_name" SGSoundSample_get_sample_name) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_is_queue" SGSoundSample_is_queue) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundSample_update_pos_and_orientation" SGSoundSample_update_pos_and_orientation) :void
  (self :pointer))

(cl:defconstant _SG_QUEUE_HXX 1)

(cffi:defcfun ("_wrap_new_SGSampleQueue__SWIG_0" new_SGSampleQueue) :pointer
  (freq :int)
  (format :int))

(cffi:defcfun ("_wrap_new_SGSampleQueue__SWIG_1" new_SGSampleQueue) :pointer
  (freq :int))

(cffi:defcfun ("_wrap_delete_SGSampleQueue" delete_SGSampleQueue) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleQueue_stop" SGSampleQueue_stop) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleQueue_add" SGSampleQueue_add) :void
  (self :pointer)
  (smp_data :pointer)
  (len :pointer))

(cffi:defcfun ("_wrap_SGSampleQueue_set_source" SGSampleQueue_set_source) :void
  (self :pointer)
  (sid :unsigned-int))

(cffi:defcfun ("_wrap_SGSampleQueue_get_source" SGSampleQueue_get_source) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleQueue_is_valid_source" SGSampleQueue_is_valid_source) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleQueue_no_valid_source" SGSampleQueue_no_valid_source) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleQueue_is_valid_buffer" SGSampleQueue_is_valid_buffer) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSampleQueue_is_queue" SGSampleQueue_is_queue) :pointer
  (self :pointer))

(cl:defconstant _SG_SOUNDMGR_OPENAL_HXX 1)

(cffi:defcstruct refUint
	(refctr :unsigned-int)
	(id :pointer))

(cffi:defctype buffer_map :pointer)

(cffi:defctype buffer_map_iterator :pointer)

(cffi:defctype const_buffer_map_iterator :pointer)

(cffi:defctype sample_group_map :pointer)

(cffi:defctype sample_group_map_iterator :pointer)

(cffi:defctype const_sample_group_map_iterator :pointer)

(cffi:defcfun ("_wrap_new_SGSoundMgr" new_SGSoundMgr) :pointer)

(cffi:defcfun ("_wrap_delete_SGSoundMgr" delete_SGSoundMgr) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_init__SWIG_0" SGSoundMgr_init) :void
  (self :pointer)
  (devname :string))

(cffi:defcfun ("_wrap_SGSoundMgr_init__SWIG_1" SGSoundMgr_init) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_bind" SGSoundMgr_bind) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_unbind" SGSoundMgr_unbind) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_update" SGSoundMgr_update) :void
  (self :pointer)
  (dt :double))

(cffi:defcfun ("_wrap_SGSoundMgr_suspend" SGSoundMgr_suspend) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_resume" SGSoundMgr_resume) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_stop" SGSoundMgr_stop) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_reinit" SGSoundMgr_reinit) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_is_working" SGSoundMgr_is_working) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_activate" SGSoundMgr_activate) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_is_active" SGSoundMgr_is_active) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_add" SGSoundMgr_add) :pointer
  (self :pointer)
  (sgrp :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_remove" SGSoundMgr_remove) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_exists" SGSoundMgr_exists) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_find__SWIG_0" SGSoundMgr_find) :pointer
  (self :pointer)
  (refname :pointer)
  (create :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_find__SWIG_1" SGSoundMgr_find) :pointer
  (self :pointer)
  (refname :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_set_position" SGSoundMgr_set_position) :void
  (self :pointer)
  (pos :pointer)
  (pos_geod :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_set_position_offset" SGSoundMgr_set_position_offset) :void
  (self :pointer)
  (pos :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_get_position" SGSoundMgr_get_position) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_set_velocity" SGSoundMgr_set_velocity) :void
  (self :pointer)
  (vel :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_get_velocity" SGSoundMgr_get_velocity) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_set_orientation" SGSoundMgr_set_orientation) :void
  (self :pointer)
  (ori :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_get_orientation" SGSoundMgr_get_orientation) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_get_direction" SGSoundMgr_get_direction) :pointer
  (self :pointer))

(defanonenum
	(NO_SOURCE #.(cl:- nsigned int 1))
	(NO_BUFFER #.(cl:- nsigned int 1)))

(cffi:defcfun ("_wrap_SGSoundMgr_set_volume" SGSoundMgr_set_volume) :void
  (self :pointer)
  (vol :float))

(cffi:defcfun ("_wrap_SGSoundMgr_get_volume" SGSoundMgr_get_volume) :float
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_request_source" SGSoundMgr_request_source) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_release_source" SGSoundMgr_release_source) :void
  (self :pointer)
  (source :unsigned-int))

(cffi:defcfun ("_wrap_SGSoundMgr_request_buffer" SGSoundMgr_request_buffer) :unsigned-int
  (self :pointer)
  (sample :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_release_buffer" SGSoundMgr_release_buffer) :void
  (self :pointer)
  (sample :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_has_changed" SGSoundMgr_has_changed) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_bad_doppler_effect" SGSoundMgr_bad_doppler_effect) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_load" SGSoundMgr_load) :pointer
  (self :pointer)
  (samplepath :pointer)
  (data :pointer)
  (format :pointer)
  (size :pointer)
  (freq :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_get_available_devices" SGSoundMgr_get_available_devices) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_get_vendor" SGSoundMgr_get_vendor) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSoundMgr_get_renderer" SGSoundMgr_get_renderer) :pointer
  (self :pointer))

(cl:defconstant _SG_SOUND_HXX 1)

(cffi:defcvar ("MAX_TRANSIT_TIME" MAX_TRANSIT_TIME)
 :double)

(cffi:defcfun ("_wrap_new_SGXmlSound" new_SGXmlSound) :pointer)

(cffi:defcfun ("_wrap_delete_SGXmlSound" delete_SGXmlSound) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGXmlSound_init" SGXmlSound_init) :void
  (self :pointer)
  (arg1 :pointer)
  (arg2 :pointer)
  (arg3 :pointer)
  (arg4 :pointer)
  (currentDir :pointer))

(cffi:defcfun ("_wrap_SGXmlSound_update" SGXmlSound_update) :void
  (self :pointer)
  (dt :double))

(cffi:defcfun ("_wrap_SGXmlSound_stop" SGXmlSound_stop) :void
  (self :pointer))

(defanonenum
	(MAXPROP #.5))

(defanonenum
	(ONCE #.0)
	LOOPED
	IN_TRANSIT)

(defanonenum
	(LEVEL #.0)
	INVERTED
	FLIPFLOP)

(cl:defconstant SIMGEAR_OSGUTILS_HXX 1)

(cl:defconstant SIMGEAR_OSGVERSION_HXX 1)

(cffi:defcfun ("_wrap_new_SGAtomic__SWIG_0" new_SGAtomic) :pointer
  (value :unsigned-int))

(cffi:defcfun ("_wrap_new_SGAtomic__SWIG_1" new_SGAtomic) :pointer)

(cffi:defcfun ("_wrap_SGAtomic___preincr__" SGAtomic___preincr__) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_SGAtomic___predecr__" SGAtomic___predecr__) :unsigned-int
  (self :pointer))

(cffi:defcfun ("_wrap_SGAtomic_compareAndExchange" SGAtomic_compareAndExchange) :pointer
  (self :pointer)
  (oldValue :unsigned-int)
  (newValue :unsigned-int))

(cffi:defcfun ("_wrap_delete_SGAtomic" delete_SGAtomic) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGBinding__SWIG_0" new_SGBinding) :pointer)

(cffi:defcfun ("_wrap_new_SGBinding__SWIG_1" new_SGBinding) :pointer
  (node :pointer)
  (root :pointer))

(cffi:defcfun ("_wrap_delete_SGBinding" delete_SGBinding) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinding_getCommandName" SGBinding_getCommandName) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinding_getCommand" SGBinding_getCommand) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinding_getArg" SGBinding_getArg) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinding_read" SGBinding_read) :void
  (self :pointer)
  (node :pointer)
  (root :pointer))

(cffi:defcfun ("_wrap_SGBinding_fire__SWIG_0" SGBinding_fire) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGBinding_fire__SWIG_1" SGBinding_fire) :void
  (self :pointer)
  (offset :double)
  (max :double))

(cffi:defcfun ("_wrap_SGBinding_fire__SWIG_2" SGBinding_fire) :void
  (self :pointer)
  (setting :double))

(cffi:defctype SGBindingList :pointer)

(cffi:defctype SGBindingMap :pointer)

(cffi:defcfun ("_wrap_new_SGReferenced__SWIG_0" new_SGReferenced) :pointer)

(cffi:defcfun ("_wrap_new_SGReferenced__SWIG_1" new_SGReferenced) :pointer
  (arg0 :pointer))

(cffi:defcfun ("_wrap_SGReferenced___assign__" SGReferenced___assign__) :pointer
  (self :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_SGReferenced_get" SGReferenced_get) :unsigned-int
  (ref :pointer))

(cffi:defcfun ("_wrap_SGReferenced_put" SGReferenced_put) :unsigned-int
  (ref :pointer))

(cffi:defcfun ("_wrap_SGReferenced_count" SGReferenced_count) :unsigned-int
  (ref :pointer))

(cffi:defcfun ("_wrap_SGReferenced_shared" SGReferenced_shared) :pointer
  (ref :pointer))

(cffi:defcfun ("_wrap_delete_SGReferenced" delete_SGReferenced) :void
  (self :pointer))

(cl:defconstant SampleHistogram_h 1)

(cffi:defcvar ("SampleHistogramMinimum" SampleHistogramMinimum)
 :int)

(cffi:defcvar ("SampleHistogramMaximum" SampleHistogramMaximum)
 :int)

(cffi:defcfun ("_wrap_new_SampleHistogram__SWIG_0" new_SampleHistogram) :pointer
  (low :double)
  (hi :double)
  (bucketWidth :double))

(cffi:defcfun ("_wrap_new_SampleHistogram__SWIG_1" new_SampleHistogram) :pointer
  (low :double)
  (hi :double))

(cffi:defcfun ("_wrap_delete_SampleHistogram" delete_SampleHistogram) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SampleHistogram_reset" SampleHistogram_reset) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SampleHistogram___add_assign__" SampleHistogram___add_assign__) :void
  (self :pointer)
  (arg1 :double))

(cffi:defcfun ("_wrap_SampleHistogram_similarSamples" SampleHistogram_similarSamples) :int
  (self :pointer)
  (arg1 :double))

(cffi:defcfun ("_wrap_SampleHistogram_buckets" SampleHistogram_buckets) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SampleHistogram_bucketThreshold" SampleHistogram_bucketThreshold) :double
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_SampleHistogram_inBucket" SampleHistogram_inBucket) :int
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_SampleHistogram_printBuckets" SampleHistogram_printBuckets) :void
  (self :pointer)
  (arg1 :pointer))

(cl:defconstant SampleStatistic_h 1)

(cffi:defcfun ("_wrap_new_SampleStatistic" new_SampleStatistic) :pointer)

(cffi:defcfun ("_wrap_delete_SampleStatistic" delete_SampleStatistic) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SampleStatistic_reset" SampleStatistic_reset) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SampleStatistic___add_assign__" SampleStatistic___add_assign__) :void
  (self :pointer)
  (arg1 :double))

(cffi:defcfun ("_wrap_SampleStatistic_samples" SampleStatistic_samples) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SampleStatistic_mean" SampleStatistic_mean) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SampleStatistic_stdDev" SampleStatistic_stdDev) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SampleStatistic_var" SampleStatistic_var) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SampleStatistic_min" SampleStatistic_min) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SampleStatistic_max" SampleStatistic_max) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SampleStatistic_confidence__SWIG_0" SampleStatistic_confidence) :double
  (self :pointer)
  (p_percentage :int))

(cffi:defcfun ("_wrap_SampleStatistic_confidence__SWIG_1" SampleStatistic_confidence) :double
  (self :pointer)
  (p_value :double))

(cffi:defcfun ("_wrap_SampleStatistic_error" SampleStatistic_error) :void
  (self :pointer)
  (msg :string))

(cffi:defcfun ("_wrap_new_SGWeakReferenced__SWIG_0" new_SGWeakReferenced) :pointer)

(cffi:defcfun ("_wrap_new_SGWeakReferenced__SWIG_1" new_SGWeakReferenced) :pointer
  (weakReferenced :pointer))

(cffi:defcfun ("_wrap_delete_SGWeakReferenced" delete_SGWeakReferenced) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGWeakReferenced___assign__" SGWeakReferenced___assign__) :pointer
  (self :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_SGWeakReferenced_get" SGWeakReferenced_get) :unsigned-int
  (ref :pointer))

(cffi:defcfun ("_wrap_SGWeakReferenced_put" SGWeakReferenced_put) :unsigned-int
  (ref :pointer))

(cffi:defcfun ("_wrap_SGWeakReferenced_count" SGWeakReferenced_count) :unsigned-int
  (ref :pointer))

(cl:defconstant SIMGEAR_SINGLETON_HXX 1)

(cl:defconstant SIMGEAR_STRINGTABLE_HXX 1)

(cffi:defctype simgear::StringContainer :pointer)

(cffi:defcfun ("_wrap_new_StringTable" new_StringTable) :pointer)

(cffi:defcfun ("_wrap_delete_StringTable" delete_StringTable) :void
  (self :pointer))

(cffi:defcfun ("_wrap_delete_SGCallback" delete_SGCallback) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCallback_clone" SGCallback_clone) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGCallback___funcall__" SGCallback___funcall__) :void
  (self :pointer))

(cffi:defctype command_t :pointer)

(cffi:defcfun ("_wrap_delete_SGCommandMgr" delete_SGCommandMgr) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGCommandMgr_instance" SGCommandMgr_instance) :pointer)

(cffi:defcfun ("_wrap_SGCommandMgr_addCommand" SGCommandMgr_addCommand) :void
  (self :pointer)
  (name :pointer)
  (command :pointer))

(cffi:defcfun ("_wrap_SGCommandMgr_getCommand" SGCommandMgr_getCommand) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGCommandMgr_getCommandNames" SGCommandMgr_getCommandNames) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGCommandMgr_execute" SGCommandMgr_execute) :pointer
  (self :pointer)
  (name :pointer)
  (arg :pointer))

(cffi:defcfun ("_wrap_delete_SGTimer" delete_SGTimer) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimer_run" SGTimer_run) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimer_name_set" SGTimer_name_set) :void
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGTimer_name_get" SGTimer_name_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimer_interval_set" SGTimer_interval_set) :void
  (self :pointer)
  (interval :double))

(cffi:defcfun ("_wrap_SGTimer_interval_get" SGTimer_interval_get) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimer_callback_set" SGTimer_callback_set) :void
  (self :pointer)
  (callback :pointer))

(cffi:defcfun ("_wrap_SGTimer_callback_get" SGTimer_callback_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimer_repeat_set" SGTimer_repeat_set) :void
  (self :pointer)
  (repeat :pointer))

(cffi:defcfun ("_wrap_SGTimer_repeat_get" SGTimer_repeat_get) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGTimer" new_SGTimer) :pointer)

(cffi:defcfun ("_wrap_new_SGTimerQueue__SWIG_0" new_SGTimerQueue) :pointer
  (preSize :int))

(cffi:defcfun ("_wrap_new_SGTimerQueue__SWIG_1" new_SGTimerQueue) :pointer)

(cffi:defcfun ("_wrap_delete_SGTimerQueue" delete_SGTimerQueue) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimerQueue_update" SGTimerQueue_update) :void
  (self :pointer)
  (deltaSecs :double))

(cffi:defcfun ("_wrap_SGTimerQueue_now" SGTimerQueue_now) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimerQueue_insert" SGTimerQueue_insert) :void
  (self :pointer)
  (timer :pointer)
  (time :double))

(cffi:defcfun ("_wrap_SGTimerQueue_remove__SWIG_0" SGTimerQueue_remove) :pointer
  (self :pointer)
  (timer :pointer))

(cffi:defcfun ("_wrap_SGTimerQueue_remove__SWIG_1" SGTimerQueue_remove) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimerQueue_nextTimer" SGTimerQueue_nextTimer) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimerQueue_nextTime" SGTimerQueue_nextTime) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGTimerQueue_findByName" SGTimerQueue_findByName) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_new_SGEventMgr" new_SGEventMgr) :pointer)

(cffi:defcfun ("_wrap_delete_SGEventMgr" delete_SGEventMgr) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGEventMgr_init" SGEventMgr_init) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGEventMgr_update" SGEventMgr_update) :void
  (self :pointer)
  (delta_time_sec :double))

(cffi:defcfun ("_wrap_SGEventMgr_setRealtimeProperty" SGEventMgr_setRealtimeProperty) :void
  (self :pointer)
  (node :pointer))

(cffi:defcfun ("_wrap_SGEventMgr_removeTask" SGEventMgr_removeTask) :void
  (self :pointer)
  (name :pointer))

(cl:defconstant __SIMGEAR_MISC_EXCEPTION_HXX 1)

(defanonenum
	(max_path #.1024))

(cffi:defcfun ("_wrap_new_sg_location__SWIG_0" new_sg_location) :pointer)

(cffi:defcfun ("_wrap_new_sg_location__SWIG_1" new_sg_location) :pointer
  (path :pointer)
  (line :int)
  (column :int))

(cffi:defcfun ("_wrap_new_sg_location__SWIG_2" new_sg_location) :pointer
  (path :pointer)
  (line :int))

(cffi:defcfun ("_wrap_new_sg_location__SWIG_3" new_sg_location) :pointer
  (path :pointer))

(cffi:defcfun ("_wrap_new_sg_location__SWIG_4" new_sg_location) :pointer
  (path :string)
  (line :int)
  (column :int))

(cffi:defcfun ("_wrap_new_sg_location__SWIG_5" new_sg_location) :pointer
  (path :string)
  (line :int))

(cffi:defcfun ("_wrap_new_sg_location__SWIG_6" new_sg_location) :pointer
  (path :string))

(cffi:defcfun ("_wrap_delete_sg_location" delete_sg_location) :void
  (self :pointer))

(cffi:defcfun ("_wrap_sg_location_getPath" sg_location_getPath) :string
  (self :pointer))

(cffi:defcfun ("_wrap_sg_location_setPath" sg_location_setPath) :void
  (self :pointer)
  (path :string))

(cffi:defcfun ("_wrap_sg_location_getLine" sg_location_getLine) :int
  (self :pointer))

(cffi:defcfun ("_wrap_sg_location_setLine" sg_location_setLine) :void
  (self :pointer)
  (line :int))

(cffi:defcfun ("_wrap_sg_location_getColumn" sg_location_getColumn) :int
  (self :pointer))

(cffi:defcfun ("_wrap_sg_location_setColumn" sg_location_setColumn) :void
  (self :pointer)
  (column :int))

(cffi:defcfun ("_wrap_sg_location_getByte" sg_location_getByte) :int
  (self :pointer))

(cffi:defcfun ("_wrap_sg_location_setByte" sg_location_setByte) :void
  (self :pointer)
  (byte :int))

(cffi:defcfun ("_wrap_sg_location_asString" sg_location_asString) :pointer
  (self :pointer))

(defanonenum
	(MAX_TEXT_LEN #.1024))

(cffi:defcfun ("_wrap_new_sg_throwable__SWIG_0" new_sg_throwable) :pointer)

(cffi:defcfun ("_wrap_new_sg_throwable__SWIG_1" new_sg_throwable) :pointer
  (message :string)
  (origin :string))

(cffi:defcfun ("_wrap_new_sg_throwable__SWIG_2" new_sg_throwable) :pointer
  (message :string))

(cffi:defcfun ("_wrap_delete_sg_throwable" delete_sg_throwable) :void
  (self :pointer))

(cffi:defcfun ("_wrap_sg_throwable_getMessage" sg_throwable_getMessage) :string
  (self :pointer))

(cffi:defcfun ("_wrap_sg_throwable_getFormattedMessage" sg_throwable_getFormattedMessage) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_sg_throwable_setMessage" sg_throwable_setMessage) :void
  (self :pointer)
  (message :string))

(cffi:defcfun ("_wrap_sg_throwable_getOrigin" sg_throwable_getOrigin) :string
  (self :pointer))

(cffi:defcfun ("_wrap_sg_throwable_setOrigin" sg_throwable_setOrigin) :void
  (self :pointer)
  (origin :string))

(cffi:defcfun ("_wrap_sg_throwable_what" sg_throwable_what) :string
  (self :pointer))

(cffi:defcfun ("_wrap_new_sg_error__SWIG_0" new_sg_error) :pointer)

(cffi:defcfun ("_wrap_new_sg_error__SWIG_1" new_sg_error) :pointer
  (message :string)
  (origin :string))

(cffi:defcfun ("_wrap_new_sg_error__SWIG_2" new_sg_error) :pointer
  (message :string))

(cffi:defcfun ("_wrap_new_sg_error__SWIG_3" new_sg_error) :pointer
  (message :pointer)
  (origin :pointer))

(cffi:defcfun ("_wrap_new_sg_error__SWIG_4" new_sg_error) :pointer
  (message :pointer))

(cffi:defcfun ("_wrap_delete_sg_error" delete_sg_error) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_sg_exception__SWIG_0" new_sg_exception) :pointer)

(cffi:defcfun ("_wrap_new_sg_exception__SWIG_1" new_sg_exception) :pointer
  (message :string)
  (origin :string))

(cffi:defcfun ("_wrap_new_sg_exception__SWIG_2" new_sg_exception) :pointer
  (message :string))

(cffi:defcfun ("_wrap_new_sg_exception__SWIG_3" new_sg_exception) :pointer
  (message :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_new_sg_exception__SWIG_4" new_sg_exception) :pointer
  (message :pointer))

(cffi:defcfun ("_wrap_delete_sg_exception" delete_sg_exception) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_0" new_sg_io_exception) :pointer)

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_1" new_sg_io_exception) :pointer
  (message :string)
  (origin :string))

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_2" new_sg_io_exception) :pointer
  (message :string))

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_3" new_sg_io_exception) :pointer
  (message :string)
  (location :pointer)
  (origin :string))

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_4" new_sg_io_exception) :pointer
  (message :string)
  (location :pointer))

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_5" new_sg_io_exception) :pointer
  (message :pointer)
  (origin :pointer))

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_6" new_sg_io_exception) :pointer
  (message :pointer))

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_7" new_sg_io_exception) :pointer
  (message :pointer)
  (location :pointer)
  (origin :pointer))

(cffi:defcfun ("_wrap_new_sg_io_exception__SWIG_8" new_sg_io_exception) :pointer
  (message :pointer)
  (location :pointer))

(cffi:defcfun ("_wrap_delete_sg_io_exception" delete_sg_io_exception) :void
  (self :pointer))

(cffi:defcfun ("_wrap_sg_io_exception_getFormattedMessage" sg_io_exception_getFormattedMessage) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_sg_io_exception_getLocation" sg_io_exception_getLocation) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_sg_io_exception_setLocation" sg_io_exception_setLocation) :void
  (self :pointer)
  (location :pointer))

(cffi:defcfun ("_wrap_new_sg_format_exception__SWIG_0" new_sg_format_exception) :pointer)

(cffi:defcfun ("_wrap_new_sg_format_exception__SWIG_1" new_sg_format_exception) :pointer
  (message :string)
  (text :string)
  (origin :string))

(cffi:defcfun ("_wrap_new_sg_format_exception__SWIG_2" new_sg_format_exception) :pointer
  (message :string)
  (text :string))

(cffi:defcfun ("_wrap_new_sg_format_exception__SWIG_3" new_sg_format_exception) :pointer
  (message :pointer)
  (text :pointer)
  (origin :pointer))

(cffi:defcfun ("_wrap_new_sg_format_exception__SWIG_4" new_sg_format_exception) :pointer
  (message :pointer)
  (text :pointer))

(cffi:defcfun ("_wrap_delete_sg_format_exception" delete_sg_format_exception) :void
  (self :pointer))

(cffi:defcfun ("_wrap_sg_format_exception_getText" sg_format_exception_getText) :string
  (self :pointer))

(cffi:defcfun ("_wrap_sg_format_exception_setText" sg_format_exception_setText) :void
  (self :pointer)
  (text :string))

(cffi:defcfun ("_wrap_new_sg_range_exception__SWIG_0" new_sg_range_exception) :pointer)

(cffi:defcfun ("_wrap_new_sg_range_exception__SWIG_1" new_sg_range_exception) :pointer
  (message :string)
  (origin :string))

(cffi:defcfun ("_wrap_new_sg_range_exception__SWIG_2" new_sg_range_exception) :pointer
  (message :string))

(cffi:defcfun ("_wrap_new_sg_range_exception__SWIG_3" new_sg_range_exception) :pointer
  (message :pointer)
  (origin :pointer))

(cffi:defcfun ("_wrap_new_sg_range_exception__SWIG_4" new_sg_range_exception) :pointer
  (message :pointer))

(cffi:defcfun ("_wrap_delete_sg_range_exception" delete_sg_range_exception) :void
  (self :pointer))

(cl:defconstant SIMGEAR_INTERN_HXX 1)

(cffi:defcfun ("_wrap_intern" intern) :pointer
  (str :pointer))

(cl:defconstant __SUBSYSTEM_MGR_HXX 1)

(cffi:defcfun ("_wrap_new_TimingInfo" new_TimingInfo) :pointer
  (name :pointer)
  (t_arg1 :pointer))

(cffi:defcfun ("_wrap_TimingInfo_getName" TimingInfo_getName) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_TimingInfo_getTime" TimingInfo_getTime) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_delete_TimingInfo" delete_TimingInfo) :void
  (self :pointer))

(cffi:defctype eventTimeVec :pointer)

(cffi:defctype eventTimeVecIterator :pointer)

(cffi:defcfun ("_wrap_delete_SGSubsystem" delete_SGSubsystem) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_init" SGSubsystem_init) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_postinit" SGSubsystem_postinit) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_reinit" SGSubsystem_reinit) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_shutdown" SGSubsystem_shutdown) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_bind" SGSubsystem_bind) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_unbind" SGSubsystem_unbind) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_update" SGSubsystem_update) :void
  (self :pointer)
  (delta_time_sec :double))

(cffi:defcfun ("_wrap_SGSubsystem_suspend__SWIG_0" SGSubsystem_suspend) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_suspend__SWIG_1" SGSubsystem_suspend) :void
  (self :pointer)
  (suspended :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_resume" SGSubsystem_resume) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_is_suspended" SGSubsystem_is_suspended) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_updateExecutionTime" SGSubsystem_updateExecutionTime) :void
  (self :pointer)
  (time :double))

(cffi:defcfun ("_wrap_SGSubsystem_printTimingInformation" SGSubsystem_printTimingInformation) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystem_stamp" SGSubsystem_stamp) :void
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_new_SGSubsystemGroup" new_SGSubsystemGroup) :pointer)

(cffi:defcfun ("_wrap_delete_SGSubsystemGroup" delete_SGSubsystemGroup) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_init" SGSubsystemGroup_init) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_postinit" SGSubsystemGroup_postinit) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_reinit" SGSubsystemGroup_reinit) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_shutdown" SGSubsystemGroup_shutdown) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_bind" SGSubsystemGroup_bind) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_unbind" SGSubsystemGroup_unbind) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_update" SGSubsystemGroup_update) :void
  (self :pointer)
  (delta_time_sec :double))

(cffi:defcfun ("_wrap_SGSubsystemGroup_suspend" SGSubsystemGroup_suspend) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_resume" SGSubsystemGroup_resume) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_is_suspended" SGSubsystemGroup_is_suspended) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_set_subsystem__SWIG_0" SGSubsystemGroup_set_subsystem) :void
  (self :pointer)
  (name :pointer)
  (subsystem :pointer)
  (min_step_sec :double))

(cffi:defcfun ("_wrap_SGSubsystemGroup_set_subsystem__SWIG_1" SGSubsystemGroup_set_subsystem) :void
  (self :pointer)
  (name :pointer)
  (subsystem :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_get_subsystem" SGSubsystemGroup_get_subsystem) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_remove_subsystem" SGSubsystemGroup_remove_subsystem) :void
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_has_subsystem" SGSubsystemGroup_has_subsystem) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_collectDebugTiming" SGSubsystemGroup_collectDebugTiming) :void
  (self :pointer)
  (collect :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_printTimingStatistics__SWIG_0" SGSubsystemGroup_printTimingStatistics) :void
  (self :pointer)
  (minMaxTime :double)
  (minJitter :double))

(cffi:defcfun ("_wrap_SGSubsystemGroup_printTimingStatistics__SWIG_1" SGSubsystemGroup_printTimingStatistics) :void
  (self :pointer)
  (minMaxTime :double))

(cffi:defcfun ("_wrap_SGSubsystemGroup_printTimingStatistics__SWIG_2" SGSubsystemGroup_printTimingStatistics) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemGroup_set_fixed_update_time" SGSubsystemGroup_set_fixed_update_time) :void
  (self :pointer)
  (fixed_dt :double))

(cffi:defcenum GroupType
	(:INIT #.0)
	:GENERAL
	:FDM
	:POST_FDM
	:DISPLAY
	:MAX_GROUPS)

(cffi:defcfun ("_wrap_new_SGSubsystemMgr" new_SGSubsystemMgr) :pointer)

(cffi:defcfun ("_wrap_delete_SGSubsystemMgr" delete_SGSubsystemMgr) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_init" SGSubsystemMgr_init) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_postinit" SGSubsystemMgr_postinit) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_reinit" SGSubsystemMgr_reinit) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_shutdown" SGSubsystemMgr_shutdown) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_bind" SGSubsystemMgr_bind) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_unbind" SGSubsystemMgr_unbind) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_update" SGSubsystemMgr_update) :void
  (self :pointer)
  (delta_time_sec :double))

(cffi:defcfun ("_wrap_SGSubsystemMgr_suspend" SGSubsystemMgr_suspend) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_resume" SGSubsystemMgr_resume) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_is_suspended" SGSubsystemMgr_is_suspended) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_add__SWIG_0" SGSubsystemMgr_add) :void
  (self :pointer)
  (name :string)
  (subsystem :pointer)
  (group :pointer)
  (min_time_sec :double))

(cffi:defcfun ("_wrap_SGSubsystemMgr_add__SWIG_1" SGSubsystemMgr_add) :void
  (self :pointer)
  (name :string)
  (subsystem :pointer)
  (group :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_add__SWIG_2" SGSubsystemMgr_add) :void
  (self :pointer)
  (name :string)
  (subsystem :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_remove" SGSubsystemMgr_remove) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_SGSubsystemMgr_get_group" SGSubsystemMgr_get_group) :pointer
  (self :pointer)
  (group :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_get_subsystem" SGSubsystemMgr_get_subsystem) :pointer
  (self :pointer)
  (name :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_collectDebugTiming" SGSubsystemMgr_collectDebugTiming) :void
  (self :pointer)
  (collect :pointer))

(cffi:defcfun ("_wrap_SGSubsystemMgr_printTimingStatistics__SWIG_0" SGSubsystemMgr_printTimingStatistics) :void
  (self :pointer)
  (minMaxTime :double)
  (minJitter :double))

(cffi:defcfun ("_wrap_SGSubsystemMgr_printTimingStatistics__SWIG_1" SGSubsystemMgr_printTimingStatistics) :void
  (self :pointer)
  (minMaxTime :double))

(cffi:defcfun ("_wrap_SGSubsystemMgr_printTimingStatistics__SWIG_2" SGSubsystemMgr_printTimingStatistics) :void
  (self :pointer))

(cl:defconstant SGGUARD_HXX_INCLUDED 1)

(cl:defconstant SGQUEUE_HXX_INCLUDED 1)

(cl:defconstant SGTHREAD_HXX_INCLUDED 1)

(cffi:defcfun ("_wrap_start_handler" start_handler) :pointer
  (arg0 :pointer))

(cffi:defcenum cancel_t
	(:CANCEL_DISABLE #.0)
	:CANCEL_DEFERRED
	:CANCEL_IMMEDIATE)

(cffi:defcfun ("_wrap_SGThread_start__SWIG_0" SGThread_start) :int
  (self :pointer)
  (cpu :unsigned-int))

(cffi:defcfun ("_wrap_SGThread_start__SWIG_1" SGThread_start) :int
  (self :pointer))

(cffi:defcfun ("_wrap_SGThread_cancel" SGThread_cancel) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGThread_join" SGThread_join) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGMutex" new_SGMutex) :pointer)

(cffi:defcfun ("_wrap_delete_SGMutex" delete_SGMutex) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGMutex_lock" SGMutex_lock) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGMutex_trylock" SGMutex_trylock) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGMutex_unlock" SGMutex_unlock) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGPthreadCond" new_SGPthreadCond) :pointer)

(cffi:defcfun ("_wrap_delete_SGPthreadCond" delete_SGPthreadCond) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGPthreadCond_wait__SWIG_0" SGPthreadCond_wait) :void
  (self :pointer)
  (arg1 :pointer))

(cffi:defcfun ("_wrap_SGPthreadCond_wait__SWIG_1" SGPthreadCond_wait) :pointer
  (self :pointer)
  (mutex :pointer)
  (ms :unsigned-long))

(cffi:defcfun ("_wrap_SGPthreadCond_signal" SGPthreadCond_signal) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGPthreadCond_broadcast" SGPthreadCond_broadcast) :void
  (self :pointer))

(cffi:defcfun ("_wrap_new_SGTime__SWIG_0" new_SGTime) :pointer)

(cffi:defcfun ("_wrap_new_SGTime__SWIG_1" new_SGTime) :pointer
  (lon_rad :double)
  (lat_rad :double)
  (root :pointer)
  (init_time :pointer))

(cffi:defcfun ("_wrap_new_SGTime__SWIG_2" new_SGTime) :pointer
  (root :pointer))

(cffi:defcfun ("_wrap_delete_SGTime" delete_SGTime) :void
  (self :pointer))

(cffi:defcfun ("_wrap_SGTime_update" SGTime_update) :void
  (self :pointer)
  (lon_rad :double)
  (lat_rad :double)
  (ct :pointer)
  (warp :long))

(cffi:defcfun ("_wrap_SGTime_updateLocal" SGTime_updateLocal) :void
  (self :pointer)
  (lon_rad :double)
  (lat_rad :double)
  (root :pointer))

(cffi:defcfun ("_wrap_SGTime_get_cur_time" SGTime_get_cur_time) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGTime_get_zonename" SGTime_get_zonename) :string
  (self :pointer))

(cffi:defcfun ("_wrap_SGTime_getGmt" SGTime_getGmt) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_SGTime_getJD" SGTime_getJD) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGTime_getMjd" SGTime_getMjd) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGTime_getLst" SGTime_getLst) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGTime_getGst" SGTime_getGst) :double
  (self :pointer))

(cffi:defcfun ("_wrap_SGTime_get_local_offset" SGTime_get_local_offset) :pointer
  (self :pointer))

(cffi:defcfun ("_wrap_sgTimeGetGMT__SWIG_0" sgTimeGetGMT) :pointer
  (year :int)
  (month :int)
  (day :int)
  (hour :int)
  (minute :int)
  (second :int))

(cffi:defcfun ("_wrap_sgTimeGetGMT__SWIG_1" sgTimeGetGMT) :pointer
  (the_time :pointer))

(cffi:defcfun ("_wrap_sgTimeCalcMJD" sgTimeCalcMJD) :double
  (mn :int)
  (dy :double)
  (yr :int))

(cffi:defcfun ("_wrap_sgTimeCurrentMJD" sgTimeCurrentMJD) :double
  (ct :pointer)
  (warp :long))

(cffi:defcfun ("_wrap_sgTimeCalcGST" sgTimeCalcGST) :double
  (mjd :double))

(cffi:defcfun ("_wrap_sgTimeFormatTime" sgTimeFormatTime) :string
  (p :pointer)
  (buf :string))

(cffi:defcfun ("_wrap_delete_XMLAttributes" delete_XMLAttributes) :void
  (self :pointer))

(cffi:defcfun ("_wrap_XMLAttributes_size" XMLAttributes_size) :int
  (self :pointer))

(cffi:defcfun ("_wrap_XMLAttributes_getName" XMLAttributes_getName) :string
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_XMLAttributes_getValue__SWIG_0" XMLAttributes_getValue) :string
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_XMLAttributes_findAttribute" XMLAttributes_findAttribute) :int
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_XMLAttributes_hasAttribute" XMLAttributes_hasAttribute) :pointer
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_XMLAttributes_getValue__SWIG_1" XMLAttributes_getValue) :string
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_new_XMLAttributesDefault__SWIG_0" new_XMLAttributesDefault) :pointer)

(cffi:defcfun ("_wrap_new_XMLAttributesDefault__SWIG_1" new_XMLAttributesDefault) :pointer
  (atts :pointer))

(cffi:defcfun ("_wrap_delete_XMLAttributesDefault" delete_XMLAttributesDefault) :void
  (self :pointer))

(cffi:defcfun ("_wrap_XMLAttributesDefault_size" XMLAttributesDefault_size) :int
  (self :pointer))

(cffi:defcfun ("_wrap_XMLAttributesDefault_getName" XMLAttributesDefault_getName) :string
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_XMLAttributesDefault_getValue" XMLAttributesDefault_getValue) :string
  (self :pointer)
  (i :int))

(cffi:defcfun ("_wrap_XMLAttributesDefault_addAttribute" XMLAttributesDefault_addAttribute) :void
  (self :pointer)
  (name :string)
  (value :string))

(cffi:defcfun ("_wrap_XMLAttributesDefault_setName" XMLAttributesDefault_setName) :void
  (self :pointer)
  (i :int)
  (name :string))

(cffi:defcfun ("_wrap_XMLAttributesDefault_setValue__SWIG_0" XMLAttributesDefault_setValue) :void
  (self :pointer)
  (i :int)
  (value :string))

(cffi:defcfun ("_wrap_XMLAttributesDefault_setValue__SWIG_1" XMLAttributesDefault_setValue) :void
  (self :pointer)
  (name :string)
  (value :string))

(cffi:defcfun ("_wrap_delete_XMLVisitor" delete_XMLVisitor) :void
  (self :pointer))

(cffi:defcfun ("_wrap_XMLVisitor_startXML" XMLVisitor_startXML) :void
  (self :pointer))

(cffi:defcfun ("_wrap_XMLVisitor_endXML" XMLVisitor_endXML) :void
  (self :pointer))

(cffi:defcfun ("_wrap_XMLVisitor_startElement" XMLVisitor_startElement) :void
  (self :pointer)
  (name :string)
  (atts :pointer))

(cffi:defcfun ("_wrap_XMLVisitor_endElement" XMLVisitor_endElement) :void
  (self :pointer)
  (name :string))

(cffi:defcfun ("_wrap_XMLVisitor_data" XMLVisitor_data) :void
  (self :pointer)
  (s :string)
  (length :int))

(cffi:defcfun ("_wrap_XMLVisitor_pi" XMLVisitor_pi) :void
  (self :pointer)
  (target :string)
  (data :string))

(cffi:defcfun ("_wrap_XMLVisitor_warning" XMLVisitor_warning) :void
  (self :pointer)
  (message :string)
  (line :int)
  (column :int))

(cffi:defcfun ("_wrap_new_XMLVisitor" new_XMLVisitor) :pointer)

(cffi:defcfun ("_wrap_readXML__SWIG_0" readXML) :void
  (input :pointer)
  (visitor :pointer)
  (path :pointer))

(cffi:defcfun ("_wrap_readXML__SWIG_1" readXML) :void
  (input :pointer)
  (visitor :pointer))

(cffi:defcfun ("_wrap_readXML__SWIG_2" readXML) :void
  (path :pointer)
  (visitor :pointer))

(cffi:defcfun ("_wrap_readXML__SWIG_3" readXML) :void
  (buf :string)
  (size :int)
  (visitor :pointer))

ViewGit