<div dir="ltr"><b>In cl-raylib library (cffi version of raylib game development library) </b><div><b>there are many constants inside</b></div><div><b><a href="https://github.com/longlene/cl-raylib/blob/master/src/raylib.lisp">https://github.com/longlene/cl-raylib/blob/master/src/raylib.lisp</a><br></b></div><div><b>like</b></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">  (define-constant +lightgray+ '(</span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">200</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">200</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">200</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">255</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">) :test </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">#'equal</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">)</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">  (define-constant +gray+ '(</span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">130</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">130</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">130</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">255</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">) :test </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">#'equal</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">)</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">  ...</span></div><div><b>I can call those constants in my program like</b></div><div>   <span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">cl-raylib:+lightgray+</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"> cl-raylib:+gray+</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"> ...</span></div><div><b>Inside that file there are many things like </b></div><div><br></div><div><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container" style="border-spacing:0px;border-collapse:collapse;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="gmail-LC205" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;white-space:pre"><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace"><span style="font-size:12px">  (</span></font>defcstruct<font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace"><span style="font-size:12px"> (%vector2 :class vector2-type)
   </span></font><span class="gmail-pl-s" style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;box-sizing:border-box;color:rgb(3,47,98)"><span class="gmail-pl-pds" style="box-sizing:border-box">"</span>Vector2 type<span class="gmail-pl-pds" style="box-sizing:border-box">"
</span></span><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace"><span style="font-size:12px">    (x :float)</span></font><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace"><span style="font-size:12px"><br>    (y :float))
  </span></font><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container" style="border-spacing:0px;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";white-space:normal"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="gmail-LC210" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;white-space:pre"><span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px">(</span><span class="gmail-pl-k" style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;box-sizing:border-box;color:rgb(215,58,73)">defstruct</span><span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px"> </span><span class="gmail-pl-en" style="box-sizing:border-box;color:rgb(111,66,193)"><span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px">vector2
</span><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container" style="font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:12px;border-spacing:0px;border-collapse:collapse;white-space:normal"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="gmail-LC211" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;white-space:pre"> x y)</td></tr></tbody></table><span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px">
(</span><span class="gmail-pl-k" style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;box-sizing:border-box;color:rgb(215,58,73)">defmethod</span><span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;color:rgb(36,41,46)"> </span><span class="gmail-pl-en" style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;box-sizing:border-box">translate-from-foreign</span><span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;color:rgb(36,41,46)"> (pointer (type vector2-type)
</span><span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;color:rgb(36,41,46)"><span style="font-size:12px">  (with-foreign-slots ((x y) pointer (:struct %vector2))
                       (make-vector2 :x x :y y)))
</span></span><span style="color:rgb(36,41,46)"><span style="font-size:12px"><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace">
</font><font face="arial, sans-serif"><b>In cl-raylib there  are functions that take "vector2" type as input
for example:

   </b></font></span></span>DrawTriangleLines(Vector2 v1, Vector2 v2, Vector2 v3, Color color);<span style="color:rgb(36,41,46)"><span style="font-size:12px"><font face="arial, sans-serif"><b>
</b></font><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace">
</font><font face="arial, sans-serif"><b>But i can not reach them.</b></font><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace">

</font><font face="arial, sans-serif"><b>How can i call them if i can call them directly?, do i need to create them?
What must i do?
What is the solution?
What must i do?</b></font><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace">

</font></span></span><span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;color:rgb(36,41,46)"><span style="font-size:12px"><br></span></span></span></td></tr></tbody></table></td></tr></tbody></table></div></div>