community.mongoose-os.com/t/callback-into-c-with-a-return-value/278

Preview meta tags from the community.mongoose-os.com website.

Linked Hostnames

2

Thumbnail

Search Engine Appearance

Google

https://community.mongoose-os.com/t/callback-into-c-with-a-return-value/278

Callback into C with a return value

I have a C API which takes a callback and examines the integer return value of that callback to decide what to do: a return value of 0 means stop doing stuff, any other value means continue to block and process stuff. I…



Bing

Callback into C with a return value

https://community.mongoose-os.com/t/callback-into-c-with-a-return-value/278

I have a C API which takes a callback and examines the integer return value of that callback to decide what to do: a return value of 0 means stop doing stuff, any other value means continue to block and process stuff. I…



DuckDuckGo

https://community.mongoose-os.com/t/callback-into-c-with-a-return-value/278

Callback into C with a return value

I have a C API which takes a callback and examines the integer return value of that callback to decide what to do: a return value of 0 means stop doing stuff, any other value means continue to block and process stuff. I…

  • General Meta Tags

    9
    • title
      Callback into C with a return value - General - Mongoose OS community forum
    • charset
      utf-8
    • description
      I have a C API which takes a callback and examines the integer return value of that callback to decide what to do: a return value of 0 means stop doing stuff, any other value means continue to block and process stuff. I…
    • generator
      Discourse 3.5.0.beta2-dev - https://github.com/discourse/discourse version 7bd534bcfb92b0b7be2bb601b6d4ec02ae0b383e
    • theme-color
      #ffffff
  • Open Graph Meta Tags

    9
    • og:site_name
      Mongoose OS community forum
    • og:type
      website
    • og:image
      http://community.mongoose-os.com/uploads/default/original/1X/960107486630cb425571381ac1d4a805e2d8ec53.png
    • og:url
      http://community.mongoose-os.com/t/callback-into-c-with-a-return-value/278
    • og:title
      Callback into C with a return value
  • Twitter Meta Tags

    9
    • twitter:card
      summary
    • twitter:image
      http://community.mongoose-os.com/uploads/default/original/1X/960107486630cb425571381ac1d4a805e2d8ec53.png
    • twitter:url
      http://community.mongoose-os.com/t/callback-into-c-with-a-return-value/278
    • twitter:title
      Callback into C with a return value
    • twitter:description
      I have a C API which takes a callback and examines the integer return value of that callback to decide what to do: a return value of 0 means stop doing stuff, any other value means continue to block and process stuff. I have exposed this callback to mJS but my problem is that the integer return value seen by the C code is always coming out as 1. What am I doing wrong? How can I get the correct integer return value in my C code? Here’s how I am coding it: // The callback is of this form int ...
  • Item Prop Meta Tags

    46
    • position
      1
    • headline
      Callback into C with a return value
    • datePublished
      2019-05-17T09:54:22Z
    • articleSection
      General
    • keywords
  • Link Tags

    22
    • alternate nofollow
      http://community.mongoose-os.com/t/callback-into-c-with-a-return-value/278.rss
    • apple-touch-icon
      http://community.mongoose-os.com/uploads/default/optimized/1X/b0a44d484e2aeed9af7e13f34381d7701fd06f92_2_180x180.png
    • canonical
      http://community.mongoose-os.com/t/callback-into-c-with-a-return-value/278
    • icon
      http://community.mongoose-os.com/uploads/default/optimized/1X/960107486630cb425571381ac1d4a805e2d8ec53_2_32x32.png
    • search
      http://community.mongoose-os.com/opensearch.xml

Links

12