cimgui / cimCTE

C interface to ImGuiColorTextEdit
2 stars 2 forks source link

json: return type prefixed with extern #2

Open gucio321 opened 4 weeks ago

gucio321 commented 4 weeks ago

it produces e.g. "ret": "externvoid",

sonoro1234 commented 4 weeks ago

I cant find in definitions.json externvoid

gucio321 commented 4 weeks ago

maybe generate.sh...

gucio321 commented 4 weeks ago

yes @sonoro1234 regenerating this on linux causes changing void->externvoid for some reason

sonoro1234 commented 4 weeks ago

I should test on linux but will take some time

sonoro1234 commented 4 weeks ago

In the meanwhile I defined CIMGUI_API as "". Please test.

sonoro1234 commented 3 weeks ago

Did the test work ok? I have done another branch (main_santaclose) which can be automated for generation

gucio321 commented 3 weeks ago

@sonoro1234 i didn't text yet, sorry, we've released v1.0.0 today and I had no time for this 😭

gucio321 commented 3 weeks ago

@sonoro1234 unfortunately still there is a problem

       defaults : {},
       funcname :  TextEditor_GetLanguageDefinition ,
       location :  cimCTE:38 ,
       ov_cimguiname :  TextEditor_GetLanguageDefinition ,
       ret :  externLangDef* ,
       signature :  (TextEditor*) ,
       stname : ""
    }
  ],
   TextEditor_GetTotalLines : [
    {
       args :  (TextEditor* ed) ,
       argsT : [
        {
           name :  ed ,
           type :  TextEditor* 
        }
      ],
       argsoriginal :  (TextEditor* ed) ,
       call_args :  (ed) ,
       cimguiname :  TextEditor_GetTotalLines ,
       defaults : {},
       funcname :  TextEditor_GetTotalLines ,
       location :  cimCTE:54 ,
       ov_cimguiname :  TextEditor_GetTotalLines ,
      "ret": "externint",
       signature :  (TextEditor*) ,
       stname : ""
    }
  ],

ret adds extern prefix

sonoro1234 commented 2 weeks ago

main_santaclose is the default now No manual wrapped but automatic wrapped.