• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

12.4.8 Foreign language wrapper support functions
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Foreign language wrapper support functions
            • PL_cvt_i_bool()
            • PL_cvt_i_char()
            • PL_cvt_i_schar()
            • PL_cvt_i_uchar()
            • PL_cvt_i_short()
            • PL_cvt_i_ushort()
            • PL_cvt_i_int()
            • PL_cvt_i_uint()
            • PL_cvt_i_long()
            • PL_cvt_i_ulong()
            • PL_cvt_i_llong()
            • PL_cvt_i_ullong()
            • PL_cvt_i_int32()
            • PL_cvt_i_uint32()
            • PL_cvt_i_int64()
            • PL_cvt_i_uint64()
            • PL_cvt_i_size_t()
    • Packages
Availability:C-language interface function
bool PL_cvt_i_char(term_t p, char *c)
bool PL_cvt_i_schar(term_t p, signed char *c)
bool PL_cvt_i_uchar(term_t p, unsigned char *c)
bool PL_cvt_i_short(term_t p, short *s)
bool PL_cvt_i_ushort(term_t p, unsigned short *s)
bool PL_cvt_i_int(term_t p, int *c)
bool PL_cvt_i_uint(term_t p, unsigned int *c)
bool PL_cvt_i_long(term_t p, long *c)
bool PL_cvt_i_ulong(term_t p, unsigned long *c)
bool PL_cvt_i_llong(term_t p, long long *c)
bool PL_cvt_i_ullong(term_t p, unsigned long long *c)
bool PL_cvt_i_int32(term_t p, int32_t *c)
bool PL_cvt_i_uint32(term_t p, uint32_t *c)
bool PL_cvt_i_int64(term_t p, int64_t *c)
bool PL_cvt_i_uint64(term_t p, uint64_t *c)
bool PL_cvt_i_size_t(term_t p, size_t *c)
Convert a Prolog integer into a C integer of the specified size. Generate an exception and return FALSE if the conversion is impossible because the Prolog term is not an integer or the C type cannot represent the value of the Prolog integer.
ClioPatria (version V3.1.1-51-ga0b30a5)